forked from OSchip/llvm-project
7 lines
129 B
C
7 lines
129 B
C
|
// RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors
|
||
|
|
||
|
void foo() __attribute__((constructor));
|
||
|
void foo() {
|
||
|
bar();
|
||
|
}
|