--- /dev/null
+:- op(10, moin, example).
\ No newline at end of file
--- /dev/null
+:- op(4000, xfx, example).
\ No newline at end of file
--- /dev/null
+:- op(5, xfx, example(a,b)).
\ No newline at end of file
--- /dev/null
+:- op(5, xfx, example, too_many_arguments).
\ No newline at end of file
--- /dev/null
+:- (test -> set_prolog_flag(double_quotes, codes); true).
\ No newline at end of file
--- /dev/null
+:- 9001.
\ No newline at end of file
--- /dev/null
+:- op(10, 42, example).
\ No newline at end of file
--- /dev/null
+```trycmd
+$ scryer-prolog -f --no-add-history tests-pl/invalid_decl1.pl -g halt
+ error(syntax_error(inconsistent_entry),load/1).
+
+```
+
+```trycmd
+$ scryer-prolog -f --no-add-history tests-pl/invalid_decl2.pl -g halt
+ error(syntax_error(inconsistent_entry),load/1).
+
+```
+
+```trycmd
+$ scryer-prolog -f --no-add-history tests-pl/invalid_decl3.pl -g halt
+ error(syntax_error(inconsistent_entry),load/1).
+
+```
+
+```trycmd
+$ scryer-prolog -f --no-add-history tests-pl/invalid_decl4.pl -g halt
+ error(syntax_error(inconsistent_entry),load/1).
+
+```
+
+```trycmd
+$ scryer-prolog -f --no-add-history tests-pl/invalid_decl5.pl -g halt
+ error(syntax_error(inconsistent_entry),load/1).
+
+```
+
+```trycmd
+$ scryer-prolog -f --no-add-history tests-pl/invalid_decl6.pl -g halt
+ error(syntax_error(inconsistent_entry),load/1).
+
+```
\ No newline at end of file
.default_bin_name("scryer-prolog")
.case("tests/scryer/cli/issues/*.toml")
.skip("tests/scryer/cli/issues/singleton_warning.toml") // wrong line number
- .case("tests/scryer/cli/src_tests/*.toml");
+ .case("tests/scryer/cli/src_tests/*.toml")
+ .case("tests/scryer/cli/src_tests/*.md");
}