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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
initlist33.C
blob
9ab4b55d31e481d8647d9a7ed35d056bd9f4b955
1
// PR c++/44045
2
// { dg-do compile { target c++11 } }
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
}