Lines Matching full:static_assert
5 static_assert(f(), "f"); // expected-error {{static_assert expression is not an integral constant expression}}
6 static_assert(true, "true is not false");
7 static_assert(false, "false is false"); // expected-error {{static_assert failed "false is false"}}
10 static_assert(false, "false is false"); // expected-error {{static_assert failed "false is false"}}
14 static_assert(false, "false is false"); // expected-error {{static_assert failed "false is false"}}
18 static_assert(N == 2, "N is not 2!"); // expected-error {{static_assert failed "N is not 2!"}}
25 static_assert(sizeof(T) > sizeof(char), "Type not big enough!"); // expected-error {{static_assert failed "Type not big enough!"}}