Files
mercury/tests/invalid/foreign_decl_line_number.err_exp5
Julien Fischer ee61527634 Avoid failure of tests/invalid/foreign_decl_line_number with clang.
The above test case is intended to check that the correct line numbers are
reported for the contents of foreign language pragmas.  The way this is done
(i.e. assuming that context information will be printed out along with the
contents of an #error directive) is GCC specific and clang doesn't implement
that behaviour.

tests/invalid/foreign_decl_line_number.err_exp5:
    Add the expected error output for clang.
2015-10-02 12:47:58 +10:00

4 lines
87 B
Plaintext

#error Error in foreign code
#error Error in foreign decl
#error Error in foreign proc