summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/array20.C
blob: 06a167596e68ef05c820ac41a1acfc07c04691e6 (plain)
1
2
3
4
5
// PR c++/27385

struct A {};
A a[] = { 0 };  // { dg-error "initializer" }