Use -Wno-deprecated for std::uncaught_exception tests.
[gcc.git] / gcc / testsuite / g++.dg / eh / uncaught4.C
index 227d11b330bbb35cc6e72a13b9cabe816bc0f84f..8ca2cd255cae02c11c3d2b83420e2dc514fcda86 100644 (file)
@@ -1,5 +1,6 @@
 // PR c++/41174
 // { dg-do run }
+// { dg-options "-Wno-deprecated" }
 
 #include <exception>