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