This commit was manufactured by cvs2svn to create branch

'gcc-3_2-branch'.

From-SVN: r59981
This commit is contained in:
No Author 2002-12-10 07:16:06 +00:00
parent be60e12550
commit 166a11e716
2 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,4 @@
template <typename T> struct A
{
static const int t[1][1]={{0}}; // { dg-error "in-class" }
};

View File

@ -0,0 +1,17 @@
class A;
template<int A::* P>
class B
{
public:
static int A::* const p = P; // { dg-error "in-class" }
};
class A
{
public:
int dummy;
B<&A::dummy> d;
};