repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang-tidy][modernize-use-starts-ends-with] Fix operator rewriting false negative...
[llvm-project.git]
/
clang
/
test
/
Sema
/
varargs-win64.c
blob
06d1c7f246b967b1a9cfabc7a80049b313031b16
1
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple x86_64-pc-win32
2
3
void
__attribute__
((
sysv_abi
))
foo
(
int
a
, ...) {
4
__builtin_va_list ap
;
5
__builtin_va_start
(
ap
,
a
);
// expected-error {{'va_start' used in System V ABI function}}
6
}