OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/26714
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist33.C
1
// PR c++/44045
2
// { dg-options "-std=c++0x" }
3
4
struct base
5
{
6
virtual ~base() { }
7
};
8
9
int main()
10
{
11
base ptr_array[1];
12
ptr_array = { base() }; // { dg-error "assign" }
13
}