From e6ccd113b9ad7c40aa5f71e526537bbeac33d80b Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Thu, 29 May 2008 19:17:15 +0000 Subject: For PR1338: Rename test dirs git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51695 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/FrontendC++/2003-11-18-EnumArray.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/FrontendC++/2003-11-18-EnumArray.cpp (limited to 'test/FrontendC++/2003-11-18-EnumArray.cpp') diff --git a/test/FrontendC++/2003-11-18-EnumArray.cpp b/test/FrontendC++/2003-11-18-EnumArray.cpp new file mode 100644 index 0000000..6eaf9d6 --- /dev/null +++ b/test/FrontendC++/2003-11-18-EnumArray.cpp @@ -0,0 +1,14 @@ +// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null + +enum TchkType { + tchkNum, tchkString, tchkSCN, tchkNone +}; + +struct Operator { + enum TchkType tchk[8]; +}; + +struct Operator opTab[] = { + {{tchkNum, tchkNum, tchkString} } +}; + -- cgit v1.1