blob: 97ff563feec16a17c1c892f42e5f2f702a06bcec [file] [log] [blame]
// PR c++/27270
// { dg-options "" }
template<typename Entry>
struct Array {
Entry *array[32];
Array () :
array ( (Entry*[1]) { 0, 0 } ) // { dg-error "initializers|incompatible" }
{}
};
Array<void*> a;