Fixed some bugs.
[llvm/zpu.git] / test / FrontendC++ / 2003-11-18-EnumArray.cpp
blobbb1b3bf301e5e51356b2aaf2d886af0086b0d617
1 // RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
3 enum TchkType {
4 tchkNum, tchkString, tchkSCN, tchkNone
5 };
7 struct Operator {
8 enum TchkType tchk[8];
9 };
11 struct Operator opTab[] = {
12 {{tchkNum, tchkNum, tchkString} }