1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc void foo() __attribute__((constructor)); foo()4*f4a2713aSLionel Sambuc void foo() { 5*f4a2713aSLionel Sambuc bar(); 6*f4a2713aSLionel Sambuc } 7