llvm-mirror/test/CFrontend/attribute_constructor.c
2007-01-17 07:59:14 +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();
}