diff options
Diffstat (limited to 'clang/test/PCH/objc_methods.m')
| -rw-r--r-- | clang/test/PCH/objc_methods.m | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/clang/test/PCH/objc_methods.m b/clang/test/PCH/objc_methods.m index 77901c38d40..818c6145ede 100644 --- a/clang/test/PCH/objc_methods.m +++ b/clang/test/PCH/objc_methods.m @@ -1,11 +1,14 @@ // Test this without pch. -// FIXME: clang-cc -include %S/objc_methods.h -fsyntax-only -verify %s && +// RUN: clang-cc -include %S/objc_methods.h -fsyntax-only -verify %s && // Test with pch. -// FIXME: clang-cc -x=objective-c -emit-pch -o %t %S/objc_methods.h && -// FIXME: clang-cc -include-pch %t -fsyntax-only -verify %s +// RUN: clang-cc -x=objective-c -emit-pch -o %t %S/objc_methods.h && +// RUN: clang-cc -include-pch %t -fsyntax-only -verify %s void func() { - TestPCH *xx = [TestPCH alloc]; + TestPCH *xx; +#if 0 + xx = [TestPCH alloc]; [xx instMethod]; +#endif } |

