diff --git a/test/fixtures/foo.lgt b/test/fixtures/foo.lgt new file mode 100644 index 00000000..673fab26 --- /dev/null +++ b/test/fixtures/foo.lgt @@ -0,0 +1,9 @@ +% this is a Logtalk source file + +:- object(hello_world). + + % the initialization/1 directive argument is automatically executed + % when the object is loaded into memory: + :- initialization((nl, write('********** Hello World! **********'), nl)). + +:- end_object.