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 a5967fa commit b49e99aCopy full SHA for b49e99a
test/stdlib/Runtime.swift.gyb
@@ -1,7 +1,7 @@
1
// RUN: %empty-directory(%t)
2
//
3
// RUN: %gyb %s -o %t/Runtime.swift
4
-// RUN: %target-build-swift -parse-stdlib -module-name a %t/Runtime.swift -o %t.out
+// RUN: %target-build-swift -parse-stdlib -module-name a -enable-experimental-feature Extern %t/Runtime.swift -o %t.out
5
// RUN: %target-codesign %t.out
6
// RUN: %target-run %t.out
7
// REQUIRES: executable_test
@@ -24,8 +24,7 @@ import SwiftShims
24
#error("Unsupported platform")
25
#endif
26
27
-@_silgen_name("swift_demangle")
28
-public
+@extern(c, "swift_demangle")
29
func _stdlib_demangleImpl(
30
mangledName: UnsafePointer<CChar>?,
31
mangledNameLength: UInt,
0 commit comments