Files
mercury/tests/warnings/foreign_singleton.exp
Julien Fischer 99cd93dcfb Shift some tests.
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.
2022-04-14 16:13:37 +10:00

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.