llvm-6502/test/CFrontend/attribute_constructor.c
2006-03-07 22:33:00 +00:00

7 lines
130 B
C

// RUN: %llvmgcc %s -c -o - | llvm-dis | grep llvm.global_ctors
void foo() __attribute__((constructor));
void foo() {
bar();
}