diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/overcnv2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/overcnv2.C | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/overcnv2.C b/gcc/testsuite/g++.old-deja/g++.other/overcnv2.C index f8ef3d39e9b..93045e0fa55 100644 --- a/gcc/testsuite/g++.old-deja/g++.other/overcnv2.C +++ b/gcc/testsuite/g++.old-deja/g++.other/overcnv2.C @@ -2,6 +2,7 @@ // warn about it. We choose op char* not because it is a member of B -- // the standard says that all conversion ops are treated as coming from // the type of the argument -- but because it is non-const. +// Special Options: -Wconversion struct A { operator const char *() const { return ""; } |