aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S
diff options
context:
space:
mode:
authorErlang/OTP <[email protected]>2009-11-20 14:54:40 +0000
committerErlang/OTP <[email protected]>2009-11-20 14:54:40 +0000
commit84adefa331c4159d432d22840663c38f155cd4c1 (patch)
treebff9a9c66adda4df2106dfd0e5c053ab182a12bd /lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S
downloadotp-84adefa331c4159d432d22840663c38f155cd4c1.tar.gz
otp-84adefa331c4159d432d22840663c38f155cd4c1.tar.bz2
otp-84adefa331c4159d432d22840663c38f155cd4c1.zip
The R13B03 release.OTP_R13B03
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S')
-rw-r--r--lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S b/lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S
new file mode 100644
index 0000000000..d6e92abc71
--- /dev/null
+++ b/lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S
@@ -0,0 +1,26 @@
+{module, illegal_instruction}. %% version = 0
+
+{exports, []}.
+
+{attributes, []}.
+
+{labels, 7}.
+
+
+{function, t, 1, 2}.
+ {label,1}.
+ {func_info,{atom,illegal_instruction},{atom,t},1}.
+ {label,2}.
+ {my_illegal_instruction,{x,0}}.
+ return.
+
+
+{function, x, 1, 4}.
+ {label,3}.
+ bad_func_info.
+ {label,4}.
+ {my_illegal_instruction,{x,0}}.
+ return.
+
+{function, y, 0, 17}.
+ \ No newline at end of file