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
testsuite: pru: Fix pr64366.c for new -std=gnu23 default
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
rtti
/
crash3.C
blob
804aa326d971b1e10150236eab072dd1ebe80cf4
1
// PR c++/23947
2
// { dg-do compile }
3
4
class A {};
5
class B {};
6
class C : public A, public B {};
7
class D : public C {};
8
void f ()
9
#if __cplusplus <= 201402L
10
throw (D) // { dg-warning "deprecated" "" { target { c++11 && { ! c++17 } } } }
11
#endif
12
{
13
}