Sign in
cobalt
/
cobalt
/
01f3c94b226da58e62558a0b863c39a390e6cd8c
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Sema
/
varargs-win64.c
blob: 06d1c7f246b967b1a9cfabc7a80049b313031b16 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple x86_64-pc-win32
void
__attribute__
((
sysv_abi
))
foo
(
int
a
,
...)
{
__builtin_va_list ap
;
__builtin_va_start
(
ap
,
a
);
// expected-error {{'va_start' used in System V ABI function}}
}