2 // { dg-options "-std=gnu++11 -pedantic" }
7 static constexpr bool value = false;
11 struct is_float<float>
13 static constexpr bool value = true;
20 static_assert(is_float<T>::value, ""); // { dg-error "static assertion failed" }
21 static_assert(is_float<T>::value); // { dg-error "static assertion failed" }
30 // { dg-warning "static_assert without a message only available with " "" { target *-*-* } 21 }