Fortran: Fix PR 47485.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / noexcept61.C
blob653cd7e66808a124d10e4e9281e2e7b7948edcca
1 // PR c++/82099
2 // { dg-do compile { target c++11 } }
4 template <typename T, typename U>
5 void bar (T &x, T &y, U u)
7   u (x, y);
10 template <typename T>
11 void baz (T &x, T &y) noexcept (noexcept (x == y));
13 void
14 foo (int x, int y)
16   bar (x, y, baz<int>);