]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/testsuite/g++.old-deja/g++.mike/p786.C
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / testsuite / g++.old-deja / g++.mike / p786.C
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p786.C b/gcc/testsuite/g++.old-deja/g++.mike/p786.C
deleted file mode 100644 (file)
index b7d19fd..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-// prms-id: 786
-
-extern "C" int printf (const char *, ...);
-extern "C" void exit(int);
-class C
-   {
-   int a;
-public:
-   C() {a = 1;}
-   };
-
-void func(const C& a, C& b)
-{
-   printf ("in const func\n");
-   exit(1);
-}
-
-void func(C& a, C& b)
-{
-   printf ("in non-const func\n");
-}
-
-void testit(const C& a, C& b)
-{
-   func(a,b);
-}
-
-int main()
-{
-   C a;
-   C b;
-
-   func(a,b);
-   return 0;
-}