aboutsummaryrefslogtreecommitdiff
path: root/test/CFrontend/2007-09-17-WeakRef.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CFrontend/2007-09-17-WeakRef.c')
-rw-r--r--test/CFrontend/2007-09-17-WeakRef.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/CFrontend/2007-09-17-WeakRef.c b/test/CFrontend/2007-09-17-WeakRef.c
deleted file mode 100644
index 3cdd47e4e0..0000000000
--- a/test/CFrontend/2007-09-17-WeakRef.c
+++ /dev/null
@@ -1,10 +0,0 @@
-// RUN: %llvmgcc -O1 -S %s -o - | grep icmp
-// PR1678
-// XFAIL: llvmgcc4.0.1
-extern void B (void);
-static __typeof(B) A __attribute__ ((__weakref__("B")));
-int active (void)
-{
- static void *const p = __extension__ (void *) &A;
- return p != 0;
-}