summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/parse/constant3.C
blob: c029e33ed5827652cc3ad1378eee361e4c072bc1 (plain)
1
2
3
4
5
6
7
const int i = 1;
const int j (2);
const int k = { 3 };

enum { a = i, b = j, c = k };


OpenPOWER on IntegriCloud