Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/alias-decl-54.C

raw
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 };