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
/
defaulted17.C
blob
0a3c0de268afaf468d84ffa610c702363ea54e64
1
// { dg-do compile { target c++11 } }
2
3
struct A // { dg-error "const|operator=" }
4
{
5
const int i;
6
};
7
8
int main()
9
{
10
A a = { 0 };
11
a = a; // { dg-error "deleted" }
12
}