add more tests

for some of the recently closed issues
This commit is contained in:
Skgland
2021-03-11 01:19:17 +01:00
parent d437609365
commit 8f41603101
8 changed files with 177 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
% hello
% line!
a :- b(X).

View File

@@ -0,0 +1,3 @@
test :- write(world), nl.
:- initialization(write(hello)).

View File

@@ -0,0 +1 @@
:- initialization(call).

1
tests-pl/issue839-op3.pl Normal file
View File

@@ -0,0 +1 @@
:- op(900, fy, [$,@]).

View File

@@ -0,0 +1,3 @@
:- set_prolog_flag(occurs_check, true).
f(X, g(X)).

View File

@@ -0,0 +1 @@
:- initialization(throw(e)).