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
/
Parser
/
knr_parameter_attributes.c
blob
93c866bfee4e1a40dfdd81a037fecbb346dc6f70
1
// RUN: %clang_cc1 -fsyntax-only -W -Wall -Wno-deprecated-non-prototype -Werror -verify %s -std=c99
2
// expected-no-diagnostics
3
4
int
f
(
int
i
__attribute__
((
__unused__
)))
5
{
6
return
0
;
7
}
8
int
g
(
i
)
9
int
i
__attribute__
((
__unused__
));
10
{
11
return
0
;
12
}