Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 %s -fsyntax-only -verify -fms-extensions -fexceptions -fcxx-exceptions
      2 
      3 void f() throw(...) { }
      4 
      5 namespace PR28080 {
      6 struct S;           // expected-note {{forward declaration}}
      7 void fn() throw(S); // expected-warning {{incomplete type}} expected-note{{previous declaration}}
      8 void fn() throw();  // expected-warning {{does not match previous declaration}}
      9 }
     10