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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
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
}