summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.law/init7.C
blob: 0b047b85bbbf1c34ab0e6ab8dcf7513182b825bb (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// GROUPS passed initialization
class test
 {
  public:
   int x;
   int y;
   test (int val) { x = val; y = 0;}
 };

test ar(34)[5];// { dg-error "" } .*