summaryrefslogtreecommitdiffstats
path: root/tests/vm/pt-write-code2.ck
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vm/pt-write-code2.ck')
-rw-r--r--tests/vm/pt-write-code2.ck10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/vm/pt-write-code2.ck b/tests/vm/pt-write-code2.ck
new file mode 100644
index 0000000..69ffc77
--- /dev/null
+++ b/tests/vm/pt-write-code2.ck
@@ -0,0 +1,10 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_expected ([<<'EOF']);
6(pt-write-code2) begin
7(pt-write-code2) open "sample.txt"
8pt-write-code2: exit(-1)
9EOF
10pass;