diff --git a/spec/traits.dd b/spec/traits.dd index 39c2590383..b7c100e6d7 100644 --- a/spec/traits.dd +++ b/spec/traits.dd @@ -1408,9 +1408,8 @@ $(SECTION3 $(GNAME getBitfieldOffset), $(P If the field is a not bitfield, it returns as a `uint` the number 0. ) -$(SPEC_RUNNABLE_EXAMPLE_FAIL +$(SPEC_RUNNABLE_EXAMPLE_COMPILE --- -// OK with -preview=bitfields struct S { int a,b; @@ -1432,9 +1431,8 @@ $(SECTION3 $(GNAME getBitfieldWidth), ) $(P If the field is a not bitfield, it returns the number of bits in the type. ) -$(SPEC_RUNNABLE_EXAMPLE_FAIL +$(SPEC_RUNNABLE_EXAMPLE_COMPILE --- -// OK with -preview=bitfields struct S { int a,b;