mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
Estimated hours taken: 1.5 compiler/fact_table.m: Make some changes to the generated C code to remove C compiler warnings. tests/hard_coded/Mmakefile: tests/hard_coded/factt_non.m: tests/hard_coded/factt_non.exp: tests/hard_coded/factt_non_examples: Add a test case for nondet and multi `pragma fact_tables'.
8 lines
144 B
Plaintext
8 lines
144 B
Plaintext
example(1, 1.0, "1").
|
|
example(1, 1.0, "1.0").
|
|
example(2, 2.0, "2").
|
|
example(2, 2.0, "2.0").
|
|
example(42, 3.0, "foo").
|
|
example(42, 42.5, "bar").
|
|
|