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
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error41.C
1
// PR c++/40370
2
// { dg-do compile }
3
4
struct A
5
{
6
static int i;
7
};
8
9
template <int> struct B
10
{
11
int x[A::i]; // { dg-error "array bound is not an integer constant" }
12
};