attribute_constructor.c 129 Bytes Raw Blame History Permalink 1 2 3 4 5 6 // RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors void foo() __attribute__((constructor)); void foo() { bar(); }