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 35a1ce0 commit 61f61c0Copy full SHA for 61f61c0
test/embedded/dependencies-random.swift
@@ -1,5 +1,5 @@
1
// RUN: %empty-directory(%t)
2
-// RUN: %target-swift-frontend -parse-as-library -enable-experimental-feature Embedded %s -c -o %t/a.o
+// RUN: %target-swift-frontend -parse-as-library -enable-experimental-feature Embedded -enable-experimental-feature Extern %s -c -o %t/a.o
3
4
// RUN: grep DEP\: %s | sed 's#// DEP\: ##' | sort > %t/allowed-dependencies.txt
5
@@ -30,6 +30,9 @@
30
// REQUIRES: optimized_stdlib
31
// UNSUPPORTED: OS=linux-gnu && CPU=aarch64
32
33
+// REQUIRES: swift_feature_Embedded
34
+// REQUIRES: swift_feature_Extern
35
+
36
@_extern(c, "putchar")
37
@discardableResult
38
func putchar(_: CInt) -> CInt
0 commit comments