diff options
Diffstat (limited to 'libgloss/sparc/dtor.C')
-rw-r--r-- | libgloss/sparc/dtor.C | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/libgloss/sparc/dtor.C b/libgloss/sparc/dtor.C deleted file mode 100644 index abde4f1..0000000 --- a/libgloss/sparc/dtor.C +++ /dev/null @@ -1,25 +0,0 @@ -#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); */ -} |