llvm-6502/test/FrontendC/2008-03-03-CtorAttrType.c

7 lines
171 B
C
Raw Normal View History

// RUN: %llvmgcc %s -S -emit-llvm -o - | grep llvm.global_ctors
int __attribute__((constructor)) foo(void) {
return 0;
}
void __attribute__((constructor)) bar(void) {}