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-cl] Ignore /Wv and /Wv:17 flags
[llvm-project.git]
/
clang
/
test
/
CodeGenCXX
/
static-init-2.cpp
blob
354fcd4dda538626ae98c1ca8b25e063f2ed1a1b
1
// RUN: %clang_cc1 -emit-llvm-only -verify %s
2
// expected-no-diagnostics
3
4
// Make sure we don't crash generating y; its value is constant, but the
5
// initializer has side effects, so EmitConstantExpr should fail.
6
int
x
();
7
int
y
=
x
() &
0
;