mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
expression but ignoring its value. This is the right canonical way to do this. NFC, just testsuite changes. Swift SVN r28638
11 lines
379 B
Swift
11 lines
379 B
Swift
// RUN: rm -rf %t && mkdir -p %t
|
|
// RUN: not %target-swift-frontend -parse %s -I %S/Inputs/non-modular -F %S/Inputs/non-modular 2>&1 | FileCheck %s
|
|
|
|
// CHECK: {{.+}}/non-modular/Foo.framework/Headers/Foo.h:1:9: error: include of non-modular header inside framework module 'Foo'
|
|
// CHECK: error: could not build Objective-C module 'Foo'
|
|
// CHECK-NOT: error
|
|
|
|
import Foo
|
|
|
|
_ = Foo.x
|