blob: a4443e18f9d5876a805e4132f759f5784893c195 [file] [log] [blame]
// PR c++/100102
// { dg-do compile { target c++11 } }
template<int> struct ratio;
template<class T> struct duration {
static constexpr int _S_gcd();
template<class> using __is_harmonic = ratio<(duration::_S_gcd)()>;
using type = __is_harmonic<int>;
};