blob: 5b40b774f7b7057b9fad06e456699e6c95593f06 [file] [log] [blame]
// PR c++/82239
// { dg-do compile { target c++11 } }
template<typename T>
struct C {
static constexpr int x = 5;
void f()
{
static_assert(0 < x, "");
static_assert(0 < (x), "");
static_assert(true || (0 < x), "");
static_assert(true || (0 < (x)), "");
}
};