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
libstdc++: [_Hashtable] Fix some implementation inconsistencies
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor20.C
blob
f33056df49376dfe0100e7fc6df00f525786fa7f
1
// PR c++/70972
2
// { dg-do compile { target c++11 } }
3
4
struct moveonly {
5
moveonly(moveonly&&) = default;
6
moveonly() = default;
7
};
8
9
struct A {
10
A(moveonly) {}
11
};
12
struct B : A {
13
using A::A;
14
};
15
16
B b(moveonly{});