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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr58674.C
blob
fe97c6de970490626708f218f8e93403d56dad11
1
// PR c++/58674
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct A {};
5
6
template<int N> using B = A<N>;
7
8
template<typename T> struct C
9
{
10
B<T::i> b; // { dg-error "not usable" }
11
};
12
13
struct X
14
{
15
static const int i;
16
};
17
18
C<X> c;