diff --git a/llvm/test/Regression/C++Frontend/global_type.cpp b/llvm/test/Regression/C++Frontend/global_type.cpp new file mode 100644 index 000000000000..a11ea6441297 --- /dev/null +++ b/llvm/test/Regression/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; +