// PR c++/100102
// { dg-do compile { target c++11 } }
template<int()> struct ratio;
template<class T, class U> struct duration {
  static constexpr int _S_gcd();
  template<class> using __is_harmonic = ratio<_S_gcd>;
  using type = __is_harmonic<int>;
};