aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/testsuite/g++.old-deja/g++.pt/crash58.C12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.pt/crash58.C b/gcc/testsuite/g++.old-deja/g++.pt/crash58.C
index 6a2f109..10d23a0 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/crash58.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/crash58.C
@@ -15,16 +15,16 @@ struct MatrixC
{
void foo () {
EManip::do_assign<T> (0);
- &EManip::do_assign<T>;
- &do_assign<T>;
- EManip::do_assign<T>; // WARNING - not a call
- do_assign<T>; // WARNING - not a call
+ &EManip::do_assign<T>; // ERROR - unresolved
+ &do_assign<T>; // ERROR - unresolved
+ EManip::do_assign<T>; // ERROR - unresolved
+ do_assign<T>; // ERROR - unresolved
}
};
void foo(MatrixC <double> *ptr)
{
- EManip::do_assign<double>; // WARNING - not a call
- &EManip::do_assign<double>;
+ EManip::do_assign<double>; // ERROR - unresolved
+ &EManip::do_assign<double>; // ERROR - unresolved
ptr->foo ();
void (*p1) (int *) = &do_assign<double>; // ERROR - cannot convert
void (*p2) (int *) = &EManip::do_assign<double>; // ERROR - cannot convert