repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* doc/invoke.texi: Document -std=c++17 and -std=gnu++17 and document
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p10416.C
blob
1f3439d925ee2d500704212d72427b80b97be245
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
};