summaryrefslogtreecommitdiff
path: root/testsuite/tests/cps/cmm002.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/cps/cmm002.cmm')
-rw-r--r--testsuite/tests/cps/cmm002.cmm8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/cps/cmm002.cmm b/testsuite/tests/cps/cmm002.cmm
new file mode 100644
index 0000000000..bf3e0d4c6e
--- /dev/null
+++ b/testsuite/tests/cps/cmm002.cmm
@@ -0,0 +1,8 @@
+// Reduced cps012.cmm to the key part that makes it crash
+// in RegisterAlloc.joinToTargets
+
+stg_ap_0_fast {
+ bits32 y, x;
+ c7: y = bits32[x];
+ goto c7;
+}