]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/sizeof5.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / sizeof5.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/sizeof5.C b/gcc/testsuite/g++.old-deja/g++.other/sizeof5.C
deleted file mode 100644 (file)
index 8b56053..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-// Build don't link:
-// Copyright (C) 2000 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 23 Feb 2000 <nathan@codesourcery.com>
-// Derived from a bug report by Marko Maekelae <Marko.Makela@HUT.FI>
-
-// crash test
-
-struct A;
-void foo ()
-{
-  sizeof ( void ());        // ERROR - ISO forbids
-  sizeof ( void (A::*) ());
-  sizeof ( void (A::*) () const);
-  
-  sizeof (void (*) () const); // ERROR - invalid quals
-  sizeof ( void () const);  // ERROR - ISO forbids, ERROR - invalid quals
-}