OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr28284.C
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;