summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/array-refs.C
blob: b834867de3a07c650a1ea6173cd0f081821fa506 (plain)
1
2
3
4
5
6
// { dg-do assemble  }
// GROUPS passed arm
int a, b;

// declaring an array of references should be illegal
int & v[ 2] = { a, b};// { dg-error "" } .*