mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 15:03:46 +00:00

Makes sure that we turn on `debug-symbols` in mono tests, and that this feature is fully respected in symbol generation, so that output in release + debug builds are the same. Closes #4435
26 lines
720 B
Text
26 lines
720 B
Text
procedure Bool.1 ():
|
|
let Bool.24 : Int1 = false;
|
|
ret Bool.24;
|
|
|
|
procedure Bool.2 ():
|
|
let Bool.23 : Int1 = true;
|
|
ret Bool.23;
|
|
|
|
procedure Test.2 (Test.4):
|
|
let Test.11 : U8 = 1i64;
|
|
let Test.12 : U8 = GetTagId Test.4;
|
|
let Test.13 : Int1 = lowlevel Eq Test.11 Test.12;
|
|
if Test.13 then
|
|
let Test.9 : Int1 = CallByName Bool.2;
|
|
ret Test.9;
|
|
else
|
|
let Test.10 : Int1 = CallByName Bool.1;
|
|
ret Test.10;
|
|
|
|
procedure Test.0 ():
|
|
let Test.14 : I64 = 2i64;
|
|
let Test.15 : [<rnu><null>, C I64 *self] = TagId(1) ;
|
|
let Test.8 : [<rnu><null>, C I64 *self] = TagId(0) Test.14 Test.15;
|
|
let Test.7 : Int1 = CallByName Test.2 Test.8;
|
|
dec Test.8;
|
|
ret Test.7;
|