repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
elision4.C
blob
3cc2e3afa5d3424aa0eed55a30255e7c7d2d3475
1
// PR c++/107085
2
// { dg-do compile { target c++11 } }
3
4
struct X {
5
X();
6
X(X&&);
7
};
8
struct Z : X {};
9
X x1 = Z();
10
X x2 = X(Z());
11
12
struct B { };
13
struct D : B { };
14
B b1 = D();
15
B b2 = B(D());