Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
d7d5f0223bd30dfd618762349c6209dd1d5ea3e6
/
.
/
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)}}
}