Debian Codegraph @

gcc/testsuite/g++.dg/template/non-dependent15.C

raw
1 // PR c++/95468
2 // { dg-do compile { target c++11 } }
3
4 struct A {
5 template <int N>
6 static constexpr int condition() { return N; }
7 };
8
9 template <int> struct B {};
10
11 template <class>
12 using T = B<A::condition<int(1)>()>;