From 46a6f319f06378287925f29e43b9b92e570f2a11 Mon Sep 17 00:00:00 2001 From: Paulo Moura Date: Fri, 2 Mar 2012 21:06:02 +0000 Subject: [PATCH] Logtalk test file --- test/fixtures/foo.lgt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/fixtures/foo.lgt 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.