We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b98705 commit 37a5d89Copy full SHA for 37a5d89
spec/traits.dd
@@ -1408,9 +1408,8 @@ $(SECTION3 $(GNAME getBitfieldOffset),
1408
$(P If the field is a not bitfield, it returns as a `uint` the number 0.
1409
)
1410
1411
-$(SPEC_RUNNABLE_EXAMPLE_FAIL
+$(SPEC_RUNNABLE_EXAMPLE_COMPILE
1412
---
1413
-// OK with -preview=bitfields
1414
struct S
1415
{
1416
int a,b;
@@ -1432,9 +1431,8 @@ $(SECTION3 $(GNAME getBitfieldWidth),
1432
1431
1433
$(P If the field is a not bitfield, it returns the number of bits in the type.
1434
1435
1436
1437
1438
1439
1440
0 commit comments