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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted51.C
blob
0a7d308707cbeaf3cc0027c1dd9dcca1d84e4219
1
// PR c++/85067
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct A
5
{
6
A();
7
A(volatile A&) = default; // { dg-error "defaulted" }
8
};
9
10
struct B
11
{
12
A<0> a;
13
};
14
15
B b;