1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-28 06:22:51 +01:00
llvm-mirror/test/FrontendC++/2003-11-18-EnumArray.cpp

15 lines
228 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null
2004-11-06 23:29:57 +01:00
2003-11-18 21:30:00 +01:00
enum TchkType {
tchkNum, tchkString, tchkSCN, tchkNone
};
struct Operator {
enum TchkType tchk[8];
};
struct Operator opTab[] = {
{{tchkNum, tchkNum, tchkString} }
};