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 06a78fd commit 0f5156aCopy full SHA for 0f5156a
test/Interpreter/objc_runtime_visible.swift
@@ -1,6 +1,6 @@
1
// RUN: rm -rf %t && mkdir -p %t
2
3
-// RUN: %clang %target-cc-options -isysroot %sdk -fobjc-arc %S/Inputs/objc_runtime_visible.m -fmodules -dynamiclib -o %t/libobjc_runtime_visible.dylib
+// RUN: %clang %target-cc-options -isysroot %sdk -fobjc-arc %S/Inputs/objc_runtime_visible.m -fmodules -nodefaultlibs -lc -dynamiclib -o %t/libobjc_runtime_visible.dylib
4
// RUN: nm -g %t/libobjc_runtime_visible.dylib | FileCheck %s
5
// RUN: %target-build-swift -import-objc-header %S/Inputs/objc_runtime_visible.h %t/libobjc_runtime_visible.dylib %s -o %t/main
6
// RUN: %target-run %t/main
0 commit comments