mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 13:23:47 +00:00
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.
4 lines
87 B
Plaintext
4 lines
87 B
Plaintext
#error Error in foreign code
|
|
#error Error in foreign decl
|
|
#error Error in foreign proc
|