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
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
inh-ctor9.C
blob
5bfdd499d46cec4bb51b7c25f2c1e8359f8a8700
1
// { dg-do compile { target c++11 } }
2
3
class A
4
{
5
int i;
6
protected:
7
A(int i): i(i) {}
8
};
9
10
struct B: A
11
{
12
using A::A;
13
};
14
15
B b(42); // { dg-error "this context" }