repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjCXX
/
standard-conversion-to-bool.mm
blob
c36b63bd6413e9530a9e27e58c67de6d319c0564
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
@class NSString;
5
id a;
6
NSString *b;
7
8
void f() {
9
bool b1 = a;
10
bool b2 = b;
11
}
12
13