mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The code goes into its own sub-tree under 'tools' but tests go under 'test', so that running 'check-swift' will also run all the SourceKit tests. SourceKit is disabled on non-darwin platforms.
10 lines
473 B
Swift
10 lines
473 B
Swift
var x = 10
|
|
|
|
// RUN: rm -rf %t.overlays
|
|
// RUN: mkdir %t.overlays
|
|
|
|
// RUN: %swift -emit-module -o %t.overlays -F %S/../Inputs/libIDE-mock-sdk %S/../Inputs/libIDE-mock-sdk/Mixed.swift -import-underlying-module -module-name Mixed -disable-objc-attr-requires-foundation-module
|
|
// RUN: %sourcekitd-test -req=interface-gen -module Mixed -- -I %t.overlays -F %S/../Inputs/libIDE-mock-sdk %mcp_opt %clang-importer-sdk | FileCheck -check-prefix=CHECK1 %s
|
|
|
|
// CHECK1: PureSwiftClass
|