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