diff options
Diffstat (limited to 'test/FixIt/fixit.cpp')
-rw-r--r-- | test/FixIt/fixit.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp index ee93755775..79c294b1d9 100644 --- a/test/FixIt/fixit.cpp +++ b/test/FixIt/fixit.cpp @@ -37,3 +37,6 @@ protected: class B : public A { A::foo; // expected-warning{{access declarations are deprecated}} }; + +void f() throw(); +void f(); // expected-warning{{missing exception specification}} |