Adjust g++.old-deja/g++.jason/overload.C
gcc/testsuite/ChangeLog: * g++.old-deja/g++.jason/overload.C: Adjust to preserve original property that instantiation here is a compile-time error. From-SVN: r227088
This commit is contained in:
parent
27294e9f02
commit
245beb304f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2015-08-21 Patrick Palka <ppalka@gcc.gnu.org>
|
||||
|
||||
* g++.old-deja/g++.jason/overload.C: Adjust to preserve original
|
||||
property that instantiation here is a compile-time error.
|
||||
|
||||
2015-08-21 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
* g++.dg/other/pr67065.C: Extend.
|
||||
|
|
|
@ -5,7 +5,7 @@ enum bar {};
|
|||
void operator+ (int, int);// { dg-error "" } .*
|
||||
void operator+ (bar&, int);
|
||||
|
||||
template <class T> void operator+ (int b, T& t) { return; }
|
||||
template <class T> void operator+ (int b, T& t) { (void) T::bogus; }
|
||||
void operator+ (int, bar&);
|
||||
|
||||
template <class T> class foo
|
||||
|
|
Loading…
Add table
Reference in a new issue