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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
Sema
/
init-ref-c.c
blob
2c805aae61a79b5d496eb1e8eafa0741a4922960
1
// RUN: %clang_cc1 -triple arm-unknown-gnu -fsyntax-only -verify %s
2
3
void
f
(
void
) {
4
struct
EmptyStruct
{};
5
struct
EmptyStruct S
;
6
__builtin_va_end
(
S
);
// no-crash, expected-error {{non-const lvalue reference to type '__builtin_va_list' cannot bind to a value of unrelated type 'struct EmptyStruct'}}
7
}