Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f94e215e4a67e5439d56a67bbe470c7860d4b9a6
/
.
/
test
/
Sema
/
callingconv.c
blob: fa0af76834250d10fc3769f64240d562829b0e53 [
file
] [
log
] [
blame
]
// RUN: clang %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)}}
}