summaryrefslogtreecommitdiff
path: root/testsuite/tests/cps/cps002.cmm
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/cps/cps002.cmm')
-rw-r--r--testsuite/tests/cps/cps002.cmm7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/cps/cps002.cmm b/testsuite/tests/cps/cps002.cmm
new file mode 100644
index 0000000000..8919820c32
--- /dev/null
+++ b/testsuite/tests/cps/cps002.cmm
@@ -0,0 +1,7 @@
+// Basic function with a call
+
+foo1 {
+ B:
+ foreign "C--" bar() "safe";
+ goto B;
+}