Debian Codegraph @

clang/test/SemaObjCXX/arc-bool-conversion.mm

raw
1 // RUN: %clang_cc1 -fsyntax-only -fobjc-arc -verify -fblocks -triple x86_64-apple-darwin10.0.0 %s
2 // expected-no-diagnostics
3
4 bool fn(id obj) {
5 return (bool)obj;
6 }
7