llvm-mirror/test/Regression/C++Frontend/2003-11-18-EnumArray.cpp
Chris Lattner 04a9cb7189 New testcase for PR125
llvm-svn: 10071
2003-11-18 20:30:00 +00:00

13 lines
176 B
C++

enum TchkType {
tchkNum, tchkString, tchkSCN, tchkNone
};
struct Operator {
enum TchkType tchk[8];
};
struct Operator opTab[] = {
{{tchkNum, tchkNum, tchkString} }
};