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] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
Sema
/
invalid-init-diag.c
blob
3e4870e0cab112f7cbf47ea8175265fb18075865
1
// RUN: %clang_cc1 %s -verify -fsyntax-only
2
3
int
a
;
4
struct
{
int
x
;}
x
=
a
;
// expected-error {{with an expression of incompatible type 'int'}}