mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-05 23:53:25 +00:00
26 lines
335 B
C
26 lines
335 B
C
#include <stdio.h>
|
|
|
|
extern "C" void print (char *, ...);
|
|
|
|
class foo
|
|
{
|
|
public:
|
|
foo () { print ("ctor\n"); }
|
|
~foo () { print ("dtor\n"); }
|
|
};
|
|
|
|
foo x;
|
|
|
|
main ()
|
|
{
|
|
outbyte ('&');
|
|
outbyte ('@');
|
|
outbyte ('$');
|
|
outbyte ('%');
|
|
print ("FooBar\r\n");
|
|
|
|
/* whew, we made it */
|
|
print ("\r\nDone...\r\n");
|
|
/* fflush(stdout); */
|
|
}
|