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
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alias-decl-54.C
blob
faac46782dd037b92e69bcab18341fa7f8f8f86a
1
// PR c++/55992
2
// { dg-do compile { target c++11 } }
3
4
template <int> struct A { };
5
6
template <int I>
7
struct B
8
{
9
static constexpr int f (int i) { return i; }
10
11
template <int J>
12
using C = A<f (J)>;
13
14
C<I> c;
15
};