diff options
Diffstat (limited to 'clang/test/SemaCXX/exception-spec.cpp')
-rw-r--r-- | clang/test/SemaCXX/exception-spec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/exception-spec.cpp b/clang/test/SemaCXX/exception-spec.cpp index a797dba1d22..ea02aac4915 100644 --- a/clang/test/SemaCXX/exception-spec.cpp +++ b/clang/test/SemaCXX/exception-spec.cpp @@ -8,7 +8,7 @@ void (*fp)() throw (int); // Function taking reference to function with spec void g(void pfa() throw(int)); // Typedef for pointer to function with spec -typedef int (*pf)() throw(int); // xpected-error spec-on-typedef +typedef int (*pf)() throw(int); // expected-error {{specifications are not allowed in typedefs}} // Some more: // Function returning function with spec |