aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-23 18:06:21 +0000
committerChris Lattner <sabre@nondot.org>2003-06-23 18:06:21 +0000
commitaac575d112a321a78480edb29a2ffe685cd9c621 (patch)
tree5d6ed8c732ee9c8a20ce3b0dd81cf4557a5d593a /test/CFrontend
parent8a334a4035ecbfcbba7f0e8613c352349be65271 (diff)
downloadexternal_llvm-aac575d112a321a78480edb29a2ffe685cd9c621.zip
external_llvm-aac575d112a321a78480edb29a2ffe685cd9c621.tar.gz
external_llvm-aac575d112a321a78480edb29a2ffe685cd9c621.tar.bz2
New testcase for a GCC bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2003-06-23-GCC-fold-infinite-recursion.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CFrontend/2003-06-23-GCC-fold-infinite-recursion.c b/test/CFrontend/2003-06-23-GCC-fold-infinite-recursion.c
new file mode 100644
index 0000000..3e3c639
--- /dev/null
+++ b/test/CFrontend/2003-06-23-GCC-fold-infinite-recursion.c
@@ -0,0 +1,4 @@
+double Test(double A, double B, double C, double D) {
+ return -(A-B) - (C-D);
+}
+