mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-29 05:41:27 -08:00
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();
|
|
}
|