2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Waddress" }
5 template <typename X, X a>
8 static_assert (a != nullptr, "oops");
9 static_assert (nullptr != a, "oops");
13 static_assert (a != nullptr, "oops");
14 static_assert (nullptr != a, "oops");