aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE_data
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-08-26 10:32:19 +0200
committerFredrik Gustafsson <[email protected]>2013-08-26 10:32:19 +0200
commite2c0f6dd1fc9b6bd506a481644b9c63f9d575aa1 (patch)
treefbdaa017469d150bb49ffdd0d562dccfe39f2be4 /lib/compiler/test/beam_validator_SUITE_data
parent5e2876e4524eb7de61a6d3661e0bfe1a22472668 (diff)
parent9bde1306674b2e69396822ab98fa7997f9188592 (diff)
downloadotp-e2c0f6dd1fc9b6bd506a481644b9c63f9d575aa1.tar.gz
otp-e2c0f6dd1fc9b6bd506a481644b9c63f9d575aa1.tar.bz2
otp-e2c0f6dd1fc9b6bd506a481644b9c63f9d575aa1.zip
Merge branch 'nox/match-context-return/OTP-11247' into maint
* nox/match-context-return/OTP-11247: Added primary bootstrap Forbid returning a match context in beam_validator
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE_data')
-rw-r--r--lib/compiler/test/beam_validator_SUITE_data/bad_bin_match.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE_data/bad_bin_match.S b/lib/compiler/test/beam_validator_SUITE_data/bad_bin_match.S
new file mode 100644
index 0000000000..a60ca1e89a
--- /dev/null
+++ b/lib/compiler/test/beam_validator_SUITE_data/bad_bin_match.S
@@ -0,0 +1,15 @@
+{module, bad_bin_match}. %% version = 0
+
+{exports, [{t,1}]}.
+
+{attributes, []}.
+
+{labels, 3}.
+
+
+{function, t, 1, 2}.
+ {label,1}.
+ {func_info,{atom,t},{atom,t},1}.
+ {label,2}.
+ {test,bs_start_match2,{f,1},1,[{x,0},0],{x,0}}.
+ return.