aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/operator2.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/operator2.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/operator2.C14
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/operator2.C b/gcc/testsuite/g++.old-deja/g++.jason/operator2.C
deleted file mode 100644
index 477616086a2..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/operator2.C
+++ /dev/null
@@ -1,14 +0,0 @@
-// PRMS Id: 6018
-// Build don't link:
-
-class string {
- char *p;
-public:
- string(const char* s) ;// { p == s; }
- operator const char*() ;// { return s; }
-};
-
-void f4(string& s)
-{
- *s; // implies "s.operator const char*()"
-}