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
Merge with main truk.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-virtual.C
blob
2c13e3ef1882b186263c83eac2124bf548744b62
1
// PR c++/47067
2
// { dg-do compile { target c++11 } }
3
4
struct X {
5
virtual void x();
6
virtual ~X();
7
};
8
9
struct Y {
10
virtual void y();
11
virtual ~Y();
12
};
13
14
struct Z: X, Y {} z;