[llvm-commits] CVS: llvm/test/Regression/C++Frontend/2003-11-18-EnumArray.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Nov 18 14:31:02 PST 2003
Changes in directory llvm/test/Regression/C++Frontend:
2003-11-18-EnumArray.cpp added (r1.1)
---
Log message:
New testcase for PR125
---
Diffs of the changes: (+12 -0)
Index: llvm/test/Regression/C++Frontend/2003-11-18-EnumArray.cpp
diff -c /dev/null llvm/test/Regression/C++Frontend/2003-11-18-EnumArray.cpp:1.1
*** /dev/null Tue Nov 18 14:30:10 2003
--- llvm/test/Regression/C++Frontend/2003-11-18-EnumArray.cpp Tue Nov 18 14:30:00 2003
***************
*** 0 ****
--- 1,12 ----
+ enum TchkType {
+ tchkNum, tchkString, tchkSCN, tchkNone
+ };
+
+ struct Operator {
+ enum TchkType tchk[8];
+ };
+
+ struct Operator opTab[] = {
+ {{tchkNum, tchkNum, tchkString} }
+ };
+
More information about the llvm-commits
mailing list