summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjCXX/arc-bool-conversion.mm
blob: d8f840e871e55aa243a9bb36ec5dd23345b3e081 (about) (plain)
1
2
3
4
5
6
7
// 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;
}