summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/init12.C
blob: 2e3578b1a0409469bdc1909a5680bfa6b9ce34c3 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do assemble  }
// GROUPS passed array-bindings
char * bob();

int main()
{
    char a[1][2];
    a[0] = bob();// { dg-error "" } .*
}