mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[test] Make test in previous commit a bit more interesting.
In this case we import a submodule and never need the base module. Swift SVN r21556
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
// RUN: FileCheck -check-prefix=NEGATIVE %s < %t/imports.h
|
||||
// RUN: %check-in-clang %t/imports.h -I %S/Inputs/custom-modules/
|
||||
|
||||
// CHECK-DAG: @import ctypes;
|
||||
// CHECK-DAG: @import ctypes.bits;
|
||||
// CHECK-DAG: @import Foundation;
|
||||
// CHECK-DAG: @import Base;
|
||||
@@ -16,10 +15,10 @@
|
||||
// CHECK-DAG: @import Base.ExplicitSub;
|
||||
// CHECK-DAG: @import Base.ExplicitSub.ExSub;
|
||||
|
||||
// NEGATIVE-NOT: ctypes;
|
||||
// NEGATIVE-NOT: ImSub;
|
||||
// NEGATIVE-NOT: ImplicitSub;
|
||||
|
||||
import ctypes
|
||||
import ctypes.bits
|
||||
import Foundation
|
||||
|
||||
@@ -34,7 +33,6 @@ import Base.ExplicitSub.ExSub;
|
||||
@objc class Test {
|
||||
let word: DWORD = 0
|
||||
let number: NSTimeInterval = 0.0
|
||||
let point: Point = Point(x: 0, y: 0)
|
||||
|
||||
let baseI: BaseI = 0
|
||||
let baseII: BaseII = 0
|
||||
|
||||
Reference in New Issue
Block a user