aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAlexandre Oliva <oliva@gcc.gnu.org>1999-12-22 04:54:48 +0000
committerAlexandre Oliva <oliva@gcc.gnu.org>1999-12-22 04:54:48 +0000
commit0ecba51fdb1e8aee87239f139833c6b1e404614a (patch)
tree5da9d20739a7f855e73d68b8d62d6d5547043b72 /gcc
parent200a1a6df3c6861070393529b2b12824134b9591 (diff)
downloadgcc-0ecba51fdb1e8aee87239f139833c6b1e404614a.zip
gcc-0ecba51fdb1e8aee87239f139833c6b1e404614a.tar.gz
gcc-0ecba51fdb1e8aee87239f139833c6b1e404614a.tar.bz2
tweaks
From-SVN: r31063
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.oliva/template10.C8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.oliva/template10.C b/gcc/testsuite/g++.old-deja/g++.oliva/template10.C
index 2ee3934..1706dde 100644
--- a/gcc/testsuite/g++.old-deja/g++.oliva/template10.C
+++ b/gcc/testsuite/g++.old-deja/g++.oliva/template10.C
@@ -4,7 +4,7 @@
// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
// bug report by Martin Sebor <sebor@roguewave.com>
-// from C++ Standard [temp.expl.spec]/5
+// based on C++ Standard example in [temp.expl.spec]/5
/* Members of explicitly specialized template classes shall not be
defined with template-specialization syntax. The example in the
@@ -15,8 +15,8 @@
template<class T> struct A {};
template<> struct A<int> {
- static const bool a, b;
+ static bool a, b;
};
-const bool A<int>::a; // ok
-template<> const bool A<int>::b; // ERROR - bad specialization - XFAIL *-*-*
+bool A<int>::a = true; // ok
+template<> bool A<int>::b = false; // ERROR - XFAIL *-*-*