Home | History | Annotate | Download | only in SemaObjCXX
      1 // RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fobjc-fragile-abi -fsyntax-only -verify %s 
      2 
      3 @interface NSException @end
      4 void opaque();
      5 
      6 namespace test0 {
      7   void test() {
      8     try {
      9     } catch (NSException *e) { // expected-warning {{can not catch an exception thrown with @throw in C++ in the non-unified exception model}}
     10     }
     11   }
     12 }
     13