blob: 6f88f82c0b09b31c60c1f787f8e81a50a0beaacc [file] [log] [blame]
// PR c++/64080
// { dg-do compile { target c++14 } }
constexpr void foo (int&& i) { i = 0; }
void bar(int&& i)
{
bool b = noexcept(foo(static_cast<int&&>(i)));
}