blob: 653cd7e66808a124d10e4e9281e2e7b7948edcca [file] [log] [blame]
// PR c++/82099
// { dg-do compile { target c++11 } }
template <typename T, typename U>
void bar (T &x, T &y, U u)
{
u (x, y);
}
template <typename T>
void baz (T &x, T &y) noexcept (noexcept (x == y));
void
foo (int x, int y)
{
bar (x, y, baz<int>);
}