From c5c5063a0723fb08c21ad5d822d0503ab7ef18d9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 14 May 2003 14:38:10 +0000 Subject: [PATCH] new testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6195 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/C++Frontend/global_type.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/C++Frontend/global_type.cpp diff --git a/test/C++Frontend/global_type.cpp b/test/C++Frontend/global_type.cpp new file mode 100644 index 00000000000..a11ea644129 --- /dev/null +++ b/test/C++Frontend/global_type.cpp @@ -0,0 +1,6 @@ +// This testcase was causing an incorrect type emission for data. +double data[100]; + +double *dpa = data; +double *dpb = data+100; +