diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-14 14:38:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-14 14:38:10 +0000 |
commit | c5c5063a0723fb08c21ad5d822d0503ab7ef18d9 (patch) | |
tree | 527a8f8129529bd6605cb7f5b2a59bfeef08d503 | |
parent | 44edb6bdd2edc48eb31ed160a09006b610cead67 (diff) | |
download | external_llvm-c5c5063a0723fb08c21ad5d822d0503ab7ef18d9.zip external_llvm-c5c5063a0723fb08c21ad5d822d0503ab7ef18d9.tar.gz external_llvm-c5c5063a0723fb08c21ad5d822d0503ab7ef18d9.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6195 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/C++Frontend/global_type.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/C++Frontend/global_type.cpp b/test/C++Frontend/global_type.cpp new file mode 100644 index 0000000..a11ea64 --- /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; + |