Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGen/2007-09-17-WeakRef.c @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// RUN: %clang_cc1 -O1 -emit-llvm %s -o - | grep icmp // PR1678 extern void B (void); static __typeof(B) A __attribute__ ((__weakref__("B"))); int active (void) { static void *const p = __extension__ (void *) &A; return p != 0; }