ref: 4050a902f6278595dd253ec38ad7caf446ec31d8
dir: /test/tests/
# Format: # [B|F] testname [E|P] result # [B|F]: Compiler outcome. # B: Expect that this test will build. # F: Expect that this test will not build. # testname: Test case # The test that will run. We will try to # compile 'testname.myr' to 'testname', # and then execute it, verifying the result # [E|P]: Result type # E tells us that the result is an exit status # E tells us that the result output on stdout # result: Result value # What we compare with. This should be self- # evident. B main E 0 B add E 53 B mul E 42 B div E 42 B mod E 6 B bsr E 5 B struct1 E 12 B struct E 42 B structasn E 42 B structret E 42 B array E 7 B arraylen E 12 B slice E 7 B slicelen E 5 B call E 42 B voidcall E 12 B callbig E 42 B loop E 45 B fib E 21 B float E 1 B log-and E 0 B log-or E 1 B str E 102 B generic E 42 B sizeof E 4 B gsizeof E 5 F declmismatch F infermismatch F flow F occur