| Index: gcc/gcc/testsuite/g++.dg/template/typedef20.C
|
| diff --git a/gcc/gcc/testsuite/g++.dg/template/typedef20.C b/gcc/gcc/testsuite/g++.dg/template/typedef20.C
|
| index 689c1d2170584e5ada0898c51b116595c44a683c..c768ce0a78ab3b9522ff544ebd061ad97d08c07c 100644
|
| --- a/gcc/gcc/testsuite/g++.dg/template/typedef20.C
|
| +++ b/gcc/gcc/testsuite/g++.dg/template/typedef20.C
|
| @@ -4,7 +4,7 @@
|
|
|
| class x
|
| {
|
| - typedef int privtype; // { dg-error "is private" "" { xfail *-*-* } }
|
| + typedef int privtype; // { dg-error "is private" }
|
|
|
| protected:
|
| typedef int type;
|
| @@ -18,9 +18,9 @@ struct y : public x
|
|
|
| template<typename T>
|
| struct y<T*> : public x
|
| -{ // { dg-error "within this context" "" { xfail *-*-* } }
|
| +{
|
| typedef x::type good;
|
| - typedef x::privtype bad;
|
| + typedef x::privtype bad; // { dg-error "within this context" }
|
| };
|
|
|
| template class y<int>;
|
|
|