Home | History | Annotate | Download | only in SemaCXX

Lines Matching full:static_assert

36 static_assert(alignof(align_big) == alignof(int), "k's alignment is wrong"); // expected-warning{{'alignof' applied to an expression is a GNU extension}}
37 static_assert(alignof(align_small) == 1, "j's alignment is wrong"); // expected-warning{{'alignof' applied to an expression is a GNU extension}}
38 static_assert(alignof(align_multiple) == 8, "l's alignment is wrong"); // expected-warning{{'alignof' applied to an expression is a GNU extension}}
39 static_assert(alignof(align_member) == 8, "quuux's alignment is wrong");
40 static_assert(sizeof(align_member) == 8, "quuux's size is wrong");
41 static_assert(alignof(align_class_template<8>) == 8, "template's alignment is wrong");
42 static_assert(alignof(align_class_template<16>) == 16, "template's alignment is wrong");
43 static_assert(alignof(align_class_temp_pack_type<short, int, long>) == alignof(long), "template's alignment is wrong");
44 static_assert(alignof(align_class_temp_pack_expr<8, 16, 32>) == 32, "template's alignment is wrong");
45 static_assert(alignof(outer<int,char>::inner<double,short>) == alignof(int) * alignof(double), "template's alignment is wrong");