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
gcc/cp/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
vla3.C
1
// PR c++/28903
2
// { dg-options "" }
3
4
template <class>
5
struct View
6
{
7
int n;
8
};
9
template <class ViewA>
10
struct ViewDom : View<ViewA>
11
{
12
using View<ViewA>::n;
13
ViewDom();
14
};
15
template <class ViewA>
16
ViewDom<ViewA>::ViewDom()
17
{
18
char a[n];
19
}
20
void element( )
21
{
22
ViewDom<int> a;
23
}
24