mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-15 02:46:08 +00: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();
|
||
|
}
|