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
PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr24780.C
blob
7baad386bf518b6aa62a7730e396794e7e10840c
1
// PR c++/24780
2
// { dg-do compile }
3
4
template<typename S=int>
5
struct Move {
6
Move();
7
static Move<S> const MOVES[2][2];
8
};
9
template<typename S>
10
Move<S> const Move<S>::MOVES[2][2]={};
11
typedef Move<int> const MoveClass;
12
void moves(int x, int y) {
13
&MoveClass::MOVES[x][y];
14
}