]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/alias-decl-72a.C
aarch64: Further renaming of generic code
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-72a.C
1 // PR c++/100102
2 // { dg-do compile { target c++11 } }
3
4 template<int> struct ratio;
5 template<class T> struct duration {
6 static constexpr int _S_gcd();
7 template<class> using __is_harmonic = ratio<(duration::_S_gcd)()>;
8 using type = __is_harmonic<int>;
9 };