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