In the latest episode of "Deserializing bugs caused by accessors" the series reached...
[clang.git] / test / PCH / objc_stmts.m
blobed7466a53d9e81ead5091f8c9193a20387294ce8
1 // Test this without pch.
2 // RUN: %clang_cc1 -include %S/objc_stmts.h -emit-llvm -o - %s
3 // RUN: %clang_cc1 -include %S/objc_stmts.h -ast-dump -o - %s 2>&1 | FileCheck %s
5 // Test with pch.
6 // RUN: %clang_cc1 -x objective-c -emit-pch -o %t %S/objc_stmts.h
7 // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s 
8 // RUN: %clang_cc1 -include-pch %t -ast-dump -o - %s 2>&1 | FileCheck %s
10 // CHECK: catch parm = "A *a"
11 // CHECK: catch parm = "B *b"
12 // CHECK: catch all