summaryrefslogtreecommitdiff
path: root/testsuite/tests/cps/cps018.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/cps/cps018.cmm')
-rw-r--r--testsuite/tests/cps/cps018.cmm9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/cps/cps018.cmm b/testsuite/tests/cps/cps018.cmm
new file mode 100644
index 0000000000..545a895887
--- /dev/null
+++ b/testsuite/tests/cps/cps018.cmm
@@ -0,0 +1,9 @@
+// Verify continuations get created
+
+foo() {
+ bits32 x, y, z;
+ x = 3;
+ foreign "C--" bar() "safe";
+ y = 4;
+ return (z);
+}