summaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-08 04:41:32 +0000
committerChris Lattner <sabre@nondot.org>2004-03-08 04:41:32 +0000
commit342c9185af7183a727f05d1d87161f12e885d5e8 (patch)
treee60faa8d5e5ffb751a64f0f5e3796df64a6dfa63 /test/CFrontend
parentd84d3501c61ffa0ffa259c83a169b45e25dcbdfb (diff)
downloadexternal_llvm-342c9185af7183a727f05d1d87161f12e885d5e8.zip
external_llvm-342c9185af7183a727f05d1d87161f12e885d5e8.tar.gz
external_llvm-342c9185af7183a727f05d1d87161f12e885d5e8.tar.bz2
Testcase that crashes the C front-end.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2004-03-07-ComplexDivEquals.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CFrontend/2004-03-07-ComplexDivEquals.c b/test/CFrontend/2004-03-07-ComplexDivEquals.c
new file mode 100644
index 0000000..f482692
--- /dev/null
+++ b/test/CFrontend/2004-03-07-ComplexDivEquals.c
@@ -0,0 +1,4 @@
+
+void test(__complex__ double D, double X) {
+ D /= X;
+}