projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
515a641
)
Make this pass for CYGWIN.
author
Zhou Sheng
<zhousheng00@gmail.com>
Tue, 27 Nov 2007 06:23:59 +0000
(06:23 +0000)
committer
Zhou Sheng
<zhousheng00@gmail.com>
Tue, 27 Nov 2007 06:23:59 +0000
(06:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44354
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CFrontend/extern-weak.c
patch
|
blob
|
history
diff --git
a/test/CFrontend/extern-weak.c
b/test/CFrontend/extern-weak.c
index b131f3343d3cc642c7217173769761e7fb05da52..2a8569ca781af94e61bed17472b74a113b8a20d7 100644
(file)
--- a/
test/CFrontend/extern-weak.c
+++ b/
test/CFrontend/extern-weak.c
@@
-1,7
+1,8
@@
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | grep extern_weak
// RUN: %llvmgcc -O3 -S -o - -emit-llvm %s | llvm-as | llc
-#if !defined(__linux__) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
+#if !defined(__linux__) && !defined(__FreeBSD__) && \
+ !defined(__OpenBSD__) && !defined(__CYGWIN__)
void foo() __attribute__((weak_import));
#else
void foo() __attribute__((weak));