allwinner_a64/android/external/clang/test/CodeGen/attribute_constructor.c
2018-08-08 16:14:42 +08:00

6 lines
129 B
C

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