aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend/2003-11-18-EnumArray.cpp
blob: b4d861b2c389469bceb8dd0afbe5ebdb9b1feec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
enum TchkType {
  tchkNum, tchkString, tchkSCN, tchkNone
};

struct Operator {
  enum TchkType tchk[8];
};

struct Operator opTab[] = {
  {{tchkNum, tchkNum, tchkString} }
};