Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.old-deja/g++.mike/p10416.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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++17 } } } } | |
11 #endif | |
12 { } | |
13 }; |