diff options
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.S | 26 |
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 |