repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
static2.C
blob
881f07ce95a0b21f1fcafca70821f96f68e707cc
1
class A;
2
3
template<int A::* P>
4
class B
5
{
6
public:
7
static int A::* const p = P; // { dg-error "" }
8
};
9
10
class A
11
{
12
public:
13
14
int dummy;
15
16
B<&A::dummy> d;
17
};