Files
mercury/tests/hard_coded/uint16_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(0u16, _) ==> <<FALSE>>
foo(1u16, "one")
foo(2u16, _) ==> <<FALSE>>
foo(3u16, "three")
foo(4u16, _) ==> <<FALSE>>
foo(5u16, "five")
foo(6u16, _) ==> <<FALSE>>
foo(7u16, "seven")
foo(8u16, _) ==> <<FALSE>>