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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted29.C
blob
8e2989bac0e89e0d5b12d80aee68d322f97efa18
1
// PR c++/46696
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
A& operator= (A const&);
7
};
8
9
struct B
10
{
11
A ar[1];
12
B& operator= (B const&) = default;
13
};
14
15
int main()
16
{
17
B x;
18
B y;
19
y = x;
20
}