new testcase
authorChris Lattner <sabre@nondot.org>
Wed, 14 May 2003 14:38:10 +0000 (14:38 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 14 May 2003 14:38:10 +0000 (14:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6195 91177308-0d34-0410-b5e6-96231b3b80d8

test/C++Frontend/global_type.cpp [new file with mode: 0644]

diff --git a/test/C++Frontend/global_type.cpp b/test/C++Frontend/global_type.cpp
new file mode 100644 (file)
index 0000000..a11ea64
--- /dev/null
@@ -0,0 +1,6 @@
+// This testcase was causing an incorrect type emission for data.
+double data[100];
+
+double *dpa = data;
+double *dpb = data+100;
+