Sign in
cobalt
/
cobalt
/
refs/heads/21.lts.1+
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Sema
/
varargs-x86-32.c
blob: 0359e65892f098fdd6fb540791225d45a03d13d7 [
file
] [
log
] [
blame
] [
edit
]
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i386-apple-darwin9
void
foo
(
int
a
,
...)
{
__builtin_ms_va_start
((
void
*)
0
,
a
);
// expected-error {{this builtin is only available on x86-64 and aarch64 targets}}
}