mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 19:33:46 +00:00
The tests below are not actually invalid, they cause the compiler to emit only
warnings and properly belong in the warnings directory.
tests/invalid/empty_interface.{m,err_exp}:
tests/invalid/foreign_singleton.{m,err_exp}:
tests/invalid/obsolete_proc_pragma.{m,err_exp}:
Shift these tests into the warnings directory and use the
appropriate extension for expected outputs in that directory
tests/invalid/Mmakefile:
tests/invalid/Mercury.options:
tests/warnings/Mercury.options:
tests/warnings/Mmakefile:
Conform to the above changes.
13 lines
664 B
Plaintext
13 lines
664 B
Plaintext
foreign_singleton.m:025: In the C code for predicate `f'/3:
|
|
foreign_singleton.m:025: warning: variable `IO0' does not occur in the C
|
|
foreign_singleton.m:025: code.
|
|
foreign_singleton.m:032: In clause for predicate `f'/3:
|
|
foreign_singleton.m:032: warning: variable `X' occurs only once in this
|
|
foreign_singleton.m:032: scope.
|
|
foreign_singleton.m:036: In clause for predicate `g'/3:
|
|
foreign_singleton.m:036: warning: variable `X' occurs only once in this
|
|
foreign_singleton.m:036: scope.
|
|
foreign_singleton.m:038: In the C code for predicate `g'/3:
|
|
foreign_singleton.m:038: warning: variable `IO0' does not occur in the C
|
|
foreign_singleton.m:038: code.
|