aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE_data/illegal_instruction.S
blob: d6e92abc71c7febc2c20185ac2106c1df27ef221 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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}.