summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/init7.C
blob: efbf5c8cba010f33df3d1221b6f91c443444b6e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do assemble  }
// GROUPS passed initialization
struct myChoiceList
{
	int bla;
	int blubb;
	int brummbrumm;
};

extern const myChoiceList foo;

extern const myChoiceList foo = {1,1,1};

// finish_decl should have an exclusion so an error is not produced
// for this line.
extern const myChoiceList foo;