blob: c26b571f559a3194991d383f8846f25e6af836b2 [file] [log] [blame]
// { dg-do compile { target c++11 } }
int sm;
template <typename T> T
pk () noexcept (sm) // { dg-error "constant expression" }
{
return 0;
}