2 Copyright © 1995-2008, The AROS Development Team. All rights reserved.
6 #include <proto/exec.h>
8 #include <proto/dummy.h>
10 int main (int argc
, char ** argv
)
12 ULONG a
=1,b
=2,c
=0,d
=0;
13 struct Library
*DummyBase
;
15 DummyBase
=OpenLibrary((STRPTR
)"dummy.library",0);
23 Printf((STRPTR
)"%ld+%ld=%ld\n", a
, b
, c
);
25 Printf((STRPTR
)"%ld<<%ld=%ld\n", a
, b
, d
);
27 CloseLibrary((struct Library
*)DummyBase
);
30 FPuts(Output(),(STRPTR
)"Failed to open dummy.library");