Skip to content

Commit 37a5d89

Browse files
[traits.dd] update runnable tests for bitfields (#4301)
1 parent 5b98705 commit 37a5d89

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

spec/traits.dd

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,9 +1408,8 @@ $(SECTION3 $(GNAME getBitfieldOffset),
14081408
$(P If the field is a not bitfield, it returns as a `uint` the number 0.
14091409
)
14101410

1411-
$(SPEC_RUNNABLE_EXAMPLE_FAIL
1411+
$(SPEC_RUNNABLE_EXAMPLE_COMPILE
14121412
---
1413-
// OK with -preview=bitfields
14141413
struct S
14151414
{
14161415
int a,b;
@@ -1432,9 +1431,8 @@ $(SECTION3 $(GNAME getBitfieldWidth),
14321431
)
14331432
$(P If the field is a not bitfield, it returns the number of bits in the type.
14341433
)
1435-
$(SPEC_RUNNABLE_EXAMPLE_FAIL
1434+
$(SPEC_RUNNABLE_EXAMPLE_COMPILE
14361435
---
1437-
// OK with -preview=bitfields
14381436
struct S
14391437
{
14401438
int a,b;

0 commit comments

Comments
 (0)