[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / clang / test / CodeGen / 2007-09-17-WeakRef.c
blob3047b7f954efab2bb1dfaddcbc4a3410d68f0a52
1 // RUN: %clang_cc1 -O1 -emit-llvm %s -o - | grep icmp
2 // PR1678
4 extern void B (void);
5 static __typeof(B) A __attribute__ ((__weakref__("B")));
6 int active (void)
8 static void *const p = __extension__ (void *) &A;
9 return p != 0;