summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/brace4.C
blob: 0c3790193428719b7f7e5111f6aaa0ac559783ad (plain)
1
2
3
4
5
// PR c++/16859
// { dg-do compile }
// { dg-options "-pedantic" }

int a[] = { }; // { dg-error "zero-size array" }