YouCompleteMe/cpp/llvm/tools/clang/test/CodeGen/attribute_constructor.c

7 lines
129 B
C
Raw Normal View History

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