summaryrefslogtreecommitdiff
path: root/clang/test/PCH/objc_stmts.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/objc_stmts.h')
-rw-r--r--clang/test/PCH/objc_stmts.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/clang/test/PCH/objc_stmts.h b/clang/test/PCH/objc_stmts.h
new file mode 100644
index 0000000..5f705df
--- /dev/null
+++ b/clang/test/PCH/objc_stmts.h
@@ -0,0 +1,22 @@
+/* For use with the methods.m test */
+
+@interface A
+@end
+
+@interface B
+@end
+
+@interface TestPCH
+- (void)instMethod;
+@end
+
+@implementation TestPCH
+- (void)instMethod {
+ @try {
+ } @catch(A *a) {
+ } @catch(B *b) {
+ } @catch(...) {
+ } @finally {
+ }
+}
+@end