]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.old-deja/g++.mike/p10416.C
Get rid of dg-skip-if etc. default args
[thirdparty/gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p10416.C
1 // { dg-do assemble }
2 // { dg-xfail-if "" { sparc64-*-elf arm-*-pe } }
3 // { dg-options "-fexceptions" }
4 // prms-id: 10416
5
6 class not_ok {
7 public:
8 void f()
9 #if __cplusplus <= 201402L
10 throw(int) // { dg-warning "deprecated" "" { target { c++11 && { ! c++1z } } } }
11 #endif
12 { }
13 };