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++/27270
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
complit8.C
blob
b778b4b92b637b1e7ae9574c5ccc20ee4e8cad5c
1
// PR c++/27270
2
// { dg-options "" }
3
4
template<typename Entry>
5
struct Array {
6
Entry *array[32];
7
Array () :
8
array ( (Entry*[1]) { 0, 0 } ) // { dg-error "initializers|conversion" }
9
{}
10
};
11
12
Array<void*> a;