Files
mercury/tests/hard_coded/uint32_switch_test.exp
Julien Fischer 4126952a8c Test switches on uint{8,16,32}s.
tests/hard_coded/Mmakefile:
tests/hard_coded/uint{8,16,32}_switch_test.{m,exp}:
    As above.
2017-09-15 02:43:34 -04:00

10 lines
208 B
Plaintext

foo(0u32, _) ==> <<FALSE>>
foo(1u32, "one")
foo(2u32, _) ==> <<FALSE>>
foo(3u32, "three")
foo(4u32, _) ==> <<FALSE>>
foo(5u32, "five")
foo(6u32, _) ==> <<FALSE>>
foo(7u32, "seven")
foo(8u32, _) ==> <<FALSE>>