Lines Matching refs:_Static_assert
4 _Static_assert("foo", "string is nonzero");
9 _Static_assert(1, "1 is nonzero");
10 _Static_assert(0, "0 is nonzero"); // expected-error {{static_assert failed "0 is nonzero"}}
13 _Static_assert(1, "1 is nonzero"); in foo()
14 _Static_assert(0, "0 is nonzero"); // expected-error {{static_assert failed "0 is nonzero"}} in foo()
17 _Static_assert(1, invalid); // expected-error {{expected string literal for diagnostic message in s…
21 _Static_assert(1, "1 is nonzero");
22 _Static_assert(0, "0 is nonzero"); // expected-error {{static_assert failed "0 is nonzero"}}
34 _Static_assert(ASSERT_IS_TYPE(T1), "T1 is not a type"); \
35 _Static_assert(ASSERT_IS_TYPE(T2), "T2 is not a type"); \
36 _Static_assert(sizeof(T1) == sizeof(T2), "type size mismatch"); \