]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/net12.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / net12.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/net12.C b/gcc/testsuite/g++.old-deja/g++.mike/net12.C
deleted file mode 100644 (file)
index b5fbf64..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Build don't link:
-// Special g++ Options: -pedantic-errors
-
-struct Foo {
-  char *p;
-  const char *q;
-  void m() const;
-};
-
-void other(char &x);   // ERROR - reference below
-
-void
-Foo::m() const
-{
-    other(*q);         // ERROR - this is bad
-}