1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/C++Frontend/2003-11-18-EnumArray.cpp

15 lines
231 B
C++
Raw Normal View History

2004-11-06 23:29:57 +01:00
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
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} }
};