[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / 2008-03-03-CtorAttrType.c
blobdbd7bc0a7270953cc4766ed400561ef9def31bd6
1 // RUN: %clang_cc1 %s -emit-llvm -o - | grep llvm.global_ctors
2 int __attribute__((constructor)) foo(void) {
3 return 0;
5 void __attribute__((constructor)) bar(void) {}