]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/alias-decl-72a.C
Fix PR c++/109958: ICE taking the address of bound static member function brought...
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-72a.C
CommitLineData
5357ab75
PP
1// PR c++/100102
2// { dg-do compile { target c++11 } }
3
4template<int> struct ratio;
5template<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};