mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 12:23:44 +00:00
tests/invalid/bug10.{m,err_exp}:
tests/invalid/bug115.{m,err_exp}:
tests/invalid/bug117.{m,err_exp}:
tests/invalid/bug191.{m,err_exp}:
tests/invalid/bug436.{m,err_exp}:
tests/invalid/invalid_binary_literal.{m,err_exp}:
tests/invalid/invalid_decimal_literal.{m,err_exp}:
tests/invalid/invalid_float_literal.{m,err_exp}:
tests/invalid/invalid_hex_literal.{m,err_exp}:
tests/invalid/invalid_octal_literal.{m,err_exp}:
tests/invalid/invalid_pragma.{m,err_exp}:
tests/invalid/require_tailrec_invalid.{m,err_exp}:
tests/invalid/type_lhs_var.{m,err_exp}:
tests/invalid/typeclass_no_param.{m,err_exp}:
tests/invalid/unrecognized_pragma.{m,err_exp}:
Put vim modelines into these .m files, and improve their
programming style.
Update the .err_exp files for the changed line numbers.
23 lines
543 B
Mathematica
23 lines
543 B
Mathematica
%---------------------------------------------------------------------------%
|
|
% vim: ts=4 sw=4 et ft=mercury
|
|
%---------------------------------------------------------------------------%
|
|
%
|
|
% The unquoted name below caused a segmentation fault in rotd-2009-11-05.
|
|
%
|
|
%---------------------------------------------------------------------------%
|
|
|
|
:- module bug115.
|
|
:- interface.
|
|
|
|
:- pred unquoted_dèja(int::in) is semidet.
|
|
|
|
:- pred 'quoted_dèja'(int::in) is semidet.
|
|
|
|
% comment dèja
|
|
|
|
:- implementation.
|
|
|
|
unquoted_dèja(5).
|
|
|
|
'quoted_dèja'(5).
|