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