Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
2bebbf0acee55404de4b8846713b64429e744e8f
/
.
/
test
/
Sema
/
callingconv.c
blob: cb69c59c403a8c6bc480392d9931b9f8420b9e57 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -fsyntax-only -verify
void
__attribute__
((
fastcall
))
foo
(
float
*
a
)
{
}
void
__attribute__
((
stdcall
))
bar
(
float
*
a
)
{
}
void
__attribute__
((
fastcall
(
1
)))
baz
(
float
*
a
)
{
// expected-error {{attribute requires 0 argument(s)}}
}