YouCompleteMe/cpp/llvm/tools/clang/test/SemaObjCXX/standard-conversion-to-bool.mm

13 lines
127 B
Plaintext
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -verify %s
@class NSString;
id a;
NSString *b;
void f() {
bool b1 = a;
bool b2 = b;
}