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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor16.C
blob
ba6849f03496c68ba891bdc3bfcd2dec9bcffb70
1
// PR c++/56285
2
// { dg-do compile { target c++11 } }
3
4
struct foo {
5
explicit foo(int&&) {}
6
};
7
8
struct bar: private foo {
9
using foo::foo;
10
};
11
12
int main()
13
{
14
bar b { 42 };
15
}