[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:
Jordan Rose
2014-08-29 00:45:58 +00:00
parent c35312815a
commit a927d65548

View File

@@ -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