We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb0f0c8 commit e8219a5Copy full SHA for e8219a5
test/stdlib/XCTest-smoke.swift
@@ -0,0 +1,13 @@
1
+// RUN: %empty-directory(%t)
2
+// RUN: not test -e %platform-sdk-overlay-dir/XCTest.swiftmodule || %target-build-swift %s -o %t/main
3
+
4
+// REQUIRES: objc_interop
5
6
+import XCTest
7
8
+// Check that we can actually refer to functions from the XCTest overlay.
9
+let optionalInt: Int? = nil
10
+XCTAssertNil(optionalInt)
11
12
+// Check that the underlying framework was imported.
13
+_ = XCTestCase.self
0 commit comments