Allow resolving headers from a PCH even after headers+PCH were moved to another path.
[clang.git] / test / SemaObjCXX / exceptions-fragile.mm
blob11dd8e94c1de2a2ec54e4dd1ab2255a5ea3d2eeb
1 // RUN: %clang_cc1 -fsyntax-only -verify %s 
3 @interface NSException @end
4 void opaque();
6 namespace test0 {
7   void test() {
8     try {
9     } catch (NSException *e) { // expected-error {{can't catch Objective C exceptions in C++ in the non-unified exception model}}
10     }
11   }