aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.jason/overload31.C
diff options
context:
space:
mode:
authorNo Author <no-author@gcc.gnu.org>2001-03-12 13:26:30 +0000
committerNo Author <no-author@gcc.gnu.org>2001-03-12 13:26:30 +0000
commitbf7b508bcb8a860d7925355a3d503b1034be3d63 (patch)
tree4d14d867da9b19e815a228a6e71c606e35771d86 /gcc/testsuite/g++.old-deja/g++.jason/overload31.C
parentb1143e51359be3b1151d892970f43ae67dee64d2 (diff)
This commit was manufactured by cvs2svn to create tagprereleases/gcc-2.95.3-test5
'gcc-2_95_3-test5'. From-SVN: r40410
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/overload31.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.jason/overload31.C24
1 files changed, 0 insertions, 24 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload31.C b/gcc/testsuite/g++.old-deja/g++.jason/overload31.C
deleted file mode 100644
index e45d802033f..00000000000
--- a/gcc/testsuite/g++.old-deja/g++.jason/overload31.C
+++ /dev/null
@@ -1,24 +0,0 @@
-// PRMS Id: 6568
-// Bug: g++ complains about the ambiguous conversion to bool even though
-// we wouldn't end up using it anyway.
-// Build don't link:
-
-class AString
-{
-public:
- AString (unsigned len);
- operator char *() const;
- operator char const *() const;
-};
-
-void
-foo(unsigned t, AString const & handle)
-{
-}
-
-void
-foo(AString const & handle, bool includeSpecials)
-{
- unsigned t;
- foo(t, handle);
-}