]> granicus.if.org Git - clang/commitdiff
Test case for llvm r110712.
authorDevang Patel <dpatel@apple.com>
Tue, 10 Aug 2010 20:01:51 +0000 (20:01 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 10 Aug 2010 20:01:51 +0000 (20:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110713 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/debug-info-enum.cpp [new file with mode: 0644]

diff --git a/test/CodeGenCXX/debug-info-enum.cpp b/test/CodeGenCXX/debug-info-enum.cpp
new file mode 100644 (file)
index 0000000..c08fc35
--- /dev/null
@@ -0,0 +1,8 @@
+// RUN: %clang -fverbose-asm -S -g %s -o - | grep DW_TAG_enumeration_type
+
+int v;
+enum index  { MAX };
+void foo(void)
+{
+  v = MAX;
+}