aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend/extern-weak.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/extern-weak.c')
-rw-r--r--test/CFrontend/extern-weak.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CFrontend/extern-weak.c b/test/CFrontend/extern-weak.c
index a36d16c..ce9d772 100644
--- a/test/CFrontend/extern-weak.c
+++ b/test/CFrontend/extern-weak.c
@@ -1,7 +1,7 @@
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak &&
// RUN: %llvmgcc -O3 -S -o - -emit-llvm | llvm-as | llc
-#ifdef __APPLE_CC__
+#ifndef __linux__
void foo() __attribute__((weak_import));
#else
void foo() __attribute__((weak));