1 // PR c++/82239
2 // { dg-do compile { target c++11 } }
3 
4 template<typename T>
5 struct C {
6    static constexpr int x = 5;
fC7    void f()
8    {
9       static_assert(0 < x, "");
10       static_assert(0 < (x), "");
11       static_assert(true || (0 < x), "");
12       static_assert(true || (0 < (x)), "");
13    }
14 };
15