mirror of
https://github.com/apple/swift.git
synced 2026-11-01 23:11:50 +01:00
Also removes the driver flag, this will now also always be guarded on `-Xfrontend`.
17 lines
492 B
Swift
17 lines
492 B
Swift
// RUN: %target-run-simple-swift(-I %S/Inputs/ -Xfrontend -enable-experimental-cxx-interop)
|
|
//
|
|
// REQUIRES: executable_test
|
|
|
|
import StdlibUnittest
|
|
import FreeFunctionsSecondHeader
|
|
|
|
var NamespacesTestSuite = TestSuite("Functions second header in namespaces")
|
|
|
|
NamespacesTestSuite.test("Defined and declared in different headers") {
|
|
let definedInDefsCString = FunctionsNS1.definedInDefs()
|
|
expectEqual(String(cString: definedInDefsCString!), "FunctionsNS1::definedInDefs")
|
|
}
|
|
|
|
runAllTests()
|
|
|