repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
default-function-attr.c
blob
a312be46dc45f820fdd9643463913c09550831e2
1
// RUN: %clang_cc1 -triple x86_64-unknown-linux -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s
2
3
// CHECK: define{{.*}} void @foo() #[[X:[0-9]+]]
4
void
foo
(
void
) {}
5
6
// CHECK: attributes #[[X]] = {{.*}} "foo"="bar"