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

8 lines
160 B
Plaintext
Raw Normal View History

// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 %s
// rdar://9310049
bool fn(id obj) {
return (bool)obj;
}