aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
authorGiovanni Bajo <giovannibajo@gcc.gnu.org>2003-12-16 03:09:34 +0000
committerGiovanni Bajo <giovannibajo@gcc.gnu.org>2003-12-16 03:09:34 +0000
commit75e0d03a94c1b3a24717e0c2f1241ee3d77c3259 (patch)
treeb5f7a57137cf7d07ba2b0274c9ab15bdc14af592 /gcc/testsuite
parent89f1a6eccc670a5d41d7aa2e8bdbe5793d662eda (diff)
downloadgcc-75e0d03a94c1b3a24717e0c2f1241ee3d77c3259.zip
gcc-75e0d03a94c1b3a24717e0c2f1241ee3d77c3259.tar.gz
gcc-75e0d03a94c1b3a24717e0c2f1241ee3d77c3259.tar.bz2
ptrmem7.C: Simplified the test case to not hit an ICE regression.
* g++.dg/template/ptrmem7.C: Simplified the test case to not hit an ICE regression. From-SVN: r74665
Diffstat (limited to 'gcc/testsuite')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/template/ptrmem7.C14
2 files changed, 5 insertions, 14 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b3e3e1a..6e1f126 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-16 Giovanni Bajo <giovannibajo@gcc.gnu.org>
+
+ * g++.dg/template/ptrmem7.C: Simplified the test case to not hit
+ an ICE regression.
+
2003-12-15 Mark Mitchell <mark@codesourcery.com>
PR c++/10926
diff --git a/gcc/testsuite/g++.dg/template/ptrmem7.C b/gcc/testsuite/g++.dg/template/ptrmem7.C
index 59b28a3..cd907f2 100644
--- a/gcc/testsuite/g++.dg/template/ptrmem7.C
+++ b/gcc/testsuite/g++.dg/template/ptrmem7.C
@@ -27,17 +27,3 @@ X<&S::i,S> x = X<&S::i,S>();
X<&S::i,S> x2 = X<&S2::i,S>();
X<&S::i,S> y = X<&S::j,S>(); // { dg-error "" }
X<&S::i,S> z = X<&R::i,S>(); // { dg-error "" }
-
-template <class T>
-struct Foo
-{
- void foo(void)
- {
- X<&T::i,T> x = X<&T::i,T>();
- X<&S::i,S> x2 = X<&S2::i,S>();
- X<&S::i,S> y = X<&S::j,S>(); // { dg-error "" }
- X<&S::i,S> z = X<&R::i,S>(); // { dg-error "" }
- }
-};
-
-template struct Foo<S>; // { dg-error "instantiated from" }