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
/
SemaCXX
/
PR29152.cpp
blob
63c9c9bed545675375df956e72b10c611ed8b118
1
// RUN: %clang_cc1 -fsyntax-only -Wunreachable-code -verify %s
2
3
static const bool
False
=
false
;
4
5
struct
A
{
6
~
A
();
7
operator
bool
();
8
};
9
void
Bar
();
10
11
void
Foo
() {
12
if
(
False
&&
A
()) {
13
Bar
();
// expected-no-diagnostics
14
}
15
}