Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
be6bb8efacde84870c38d747bf818183ffbce0e1
/
.
/
clang
/
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)}}
}