aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE_data/undef_label.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compiler/test/beam_validator_SUITE_data/undef_label.S')
-rw-r--r--lib/compiler/test/beam_validator_SUITE_data/undef_label.S22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/compiler/test/beam_validator_SUITE_data/undef_label.S b/lib/compiler/test/beam_validator_SUITE_data/undef_label.S
new file mode 100644
index 0000000000..dd29066bf4
--- /dev/null
+++ b/lib/compiler/test/beam_validator_SUITE_data/undef_label.S
@@ -0,0 +1,22 @@
+{module, undef_label}. %% version = 0
+
+{exports, []}.
+
+{attributes, []}.
+
+{labels, 7}.
+
+
+{function, t, 1, 2}.
+ {label,1}.
+ {func_info,{atom,undef_label},{atom,t},1}.
+ {label,2}.
+ {test,is_eq_exact,{f,42},[{x,0},{atom,x}]}.
+ {move,{atom,ok},{x,0}}.
+ return.
+
+{function, x, 1, 17}.
+ {label,3}.
+ {func_info,{atom,undef_label},{atom,x},1}.
+ {label,4}.
+ return.