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
Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted46.C
blob
d4562c95903514fbfbe15335e1b423c4067fdcb2
1
// { dg-require-effective-target c++11 }
2
3
struct A
4
{
5
protected:
6
A() = default;
7
int i;
8
};
9
10
struct B: A {
11
B() = default;
12
};
13
14
int main()
15
{
16
B();
17
}