llvm-for-llvmta/tools/clang/test/SemaObjCXX/arc-bool-conversion.mm

9 lines
187 B
Plaintext
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 %s
// expected-no-diagnostics
// rdar://9310049
bool fn(id obj) {
return (bool)obj;
}