]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.other/anon4.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / anon4.C
diff --git a/gcc/testsuite/g++.old-deja/g++.other/anon4.C b/gcc/testsuite/g++.old-deja/g++.other/anon4.C
deleted file mode 100644 (file)
index c6d97e1..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-
-// Copyright (C) 1999 Free Software Foundation, Inc.
-// Contributed by Nathan Sidwell 20 May 1999 <nathan@acm.org>
-
-// Anon unions cannot have user defined member functions
-// [class.union/2].  Make sure we spot that.
-
-
-struct A
-{
-  union
-  {  // ERROR - anon union cannot have member fns
-    void bad();
-  };
-};