aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/attribute_constructor.c
blob: da17a37e2606afdefb9f67340a31ac88a25b923c (plain)
1
2
3
4
5
6
// RUN: %llvmgcc %s -S -o - | grep llvm.global_ctors

void foo() __attribute__((constructor));
void foo() {
  bar();
}