diff options
Diffstat (limited to 'clang/test/SemaObjCXX/arc-bool-conversion.mm')
-rw-r--r-- | clang/test/SemaObjCXX/arc-bool-conversion.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/SemaObjCXX/arc-bool-conversion.mm b/clang/test/SemaObjCXX/arc-bool-conversion.mm new file mode 100644 index 0000000..d8f840e --- /dev/null +++ b/clang/test/SemaObjCXX/arc-bool-conversion.mm @@ -0,0 +1,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; +} + |