Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: gcc/gcc/testsuite/g++.dg/template/typedef19.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/spec8.C ('k') | gcc/gcc/testsuite/g++.dg/template/typedef20.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.dg/template/typedef19.C
diff --git a/gcc/gcc/testsuite/g++.dg/template/typedef19.C b/gcc/gcc/testsuite/g++.dg/template/typedef19.C
index 76dca68825ec2bccb584272c47b1c2ce7ec7426e..2fac20ea065468a9e12b474de9193b6641d204e0 100644
--- a/gcc/gcc/testsuite/g++.dg/template/typedef19.C
+++ b/gcc/gcc/testsuite/g++.dg/template/typedef19.C
@@ -4,7 +4,7 @@
class A
{
- typedef int mytype; // { dg-error "'typedef int A::mytype' is private" "" { xfail *-*-* } }
+ typedef int mytype; // { dg-error "'typedef int A::mytype' is private" }
};
template <class T>
@@ -14,8 +14,8 @@ class B : public A
template<class T>
class B<T*> : public A
-{ // { dg-error "within this context" "" { xfail *-*-* } }
- mytype mem;
+{
+ mytype mem; // { dg-error "within this context" }
};
B<int*> b;
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/spec8.C ('k') | gcc/gcc/testsuite/g++.dg/template/typedef20.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698