2 ; Regression Test: EnvironmentTest.ll
5 ; This is a regression test that verifies that the JIT passes the
6 ; environment to the main() function.
11 declare uint %strlen(sbyte*)
13 int %main(int %argc.1, sbyte** %argv.1, sbyte** %envp.1) {
14 %tmp.2 = load sbyte** %envp.1
15 %tmp.3 = call uint %strlen( sbyte* %tmp.2 )
16 %T = seteq uint %tmp.3, 0
17 %R = cast bool %T to int