summaryrefslogtreecommitdiff
path: root/testsuite/tests/cmm/opt/T15188.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/cmm/opt/T15188.cmm')
-rw-r--r--testsuite/tests/cmm/opt/T15188.cmm6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/cmm/opt/T15188.cmm b/testsuite/tests/cmm/opt/T15188.cmm
new file mode 100644
index 0000000000..59df92d78e
--- /dev/null
+++ b/testsuite/tests/cmm/opt/T15188.cmm
@@ -0,0 +1,6 @@
+func(bits64 r2) {
+ foo:
+ if (r2 == 0) { goto bar; } else { goto bar; }
+ bar:
+ return (1);
+}