Files
swift-mirror/test/SourceKit/Indexing/index_bad_modulename.swift
practicalswift fa7fbdb8b0 [gardening] Remove redundant nil-initialization of optional variable
From the Swift documentation:

"If you define an optional variable without providing a default value,
 the variable is automatically set to nil for you."
2016-09-18 07:40:07 +02:00

10 lines
387 B
Swift

// RUN: %sourcekitd-test -req=index %s -- %s -module-name Swift %mcp_opt %clang-importer-sdk | %sed_clean > %t.response1
// RUN: diff -u %s.response %t.response1
// RUN: %sourcekitd-test -req=index %s -- %s -module-name 12345 %mcp_opt %clang-importer-sdk | %sed_clean > %t.response2
// RUN: diff -u %s.response %t.response2
import ObjectiveC
let v: NSObject?
// REQUIRES: objc_interop