[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / default-function-attr.c
bloba312be46dc45f820fdd9643463913c09550831e2
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s
3 // CHECK: define{{.*}} void @foo() #[[X:[0-9]+]]
4 void foo(void) {}
6 // CHECK: attributes #[[X]] = {{.*}} "foo"="bar"