newlib: Regenerate autotools files
[newlib-cygwin.git] / libgloss / m68k / dtor.C
blob2cfcb4665d0e1c7139581751cc942f053a6dadda
1 #include <stdio.h>
3 extern "C" void print (char *, ...);
5 class foo
7 public:
8   foo () { print ("ctor\n"); }
9   ~foo () { print ("dtor\n"); }
12 foo x;
14 main ()
16   outbyte ('&');
17   outbyte ('@');
18   outbyte ('$');
19   outbyte ('%');
20   print ("FooBar\r\n");
22   /* whew, we made it */
23   print ("\r\nDone...\r\n");
24   fflush(stdout);