This commit was manufactured by cvs2svn to create branch
'gcc-3_2-branch'. From-SVN: r59981
This commit is contained in:
parent
be60e12550
commit
166a11e716
|
@ -0,0 +1,4 @@
|
|||
template <typename T> struct A
|
||||
{
|
||||
static const int t[1][1]={{0}}; // { dg-error "in-class" }
|
||||
};
|
|
@ -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;
|
||||
};
|
Loading…
Reference in New Issue