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
/
template
/
pr28284.C
blob
7ef9aa12b2b33d4efb64909468bd29c1017e239b
1
/* { dg-do compile } */
2
3
template<int> struct A
4
{
5
static const int i=x; /* { dg-error "was not declared in this scope" } */
6
static const int j, k;
7
};
8
9
template<int N> const int A<N>::j = i;
10
template<int N> const int A<N>::k = j;
11
12
A<0> a;