summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.benjamin/18208.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.benjamin/18208.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.benjamin/18208.C25
1 files changed, 0 insertions, 25 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.benjamin/18208.C b/gcc/testsuite/g++.old-deja/g++.benjamin/18208.C
deleted file mode 100644
index 7ec1dc09098..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.benjamin/18208.C
+++ /dev/null
@@ -1,25 +0,0 @@
-// 981204 bkoz
-// g++/18208
-// Build don't link:
-
-typedef unsigned int uint_32;
-
-class puertorico {
-public:
- void *f ();
-private:
- uint_32 member;
-};
-
-void foo( )
-{
- uint_32 ui;
- puertorico obj;
-
- // Bug using static_cast<>
- ui = static_cast<uint_32>(obj); // ERROR - // ERROR -
-
- // Bug when missing the pair of braces
- ui = (uint_32) obj.f; // ERROR - // ERROR -
-}
-