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 d2b8cf8 commit 9c8c78cCopy full SHA for 9c8c78c
spec/importc.dd
@@ -379,9 +379,9 @@ $(H2 $(LNAME2 implementation, Implementation))
379
be an integral type and evaluate to an integer value that fits in an `int`.)
380
381
---
382
- enum E { -10, 0x81231234 }; // ok
383
- enum F { 0x812312345678 }; // error, doesn't fit in int
384
- enum G { 1.0 }; // error, not integral type
+ enum E { a = -10, b = 0x81231234 }; // ok
+ enum F { c = 0x812312345678 }; // error, doesn't fit in int
+ enum G { d = 1.0 }; // error, not integral type
385
386
387
$(P The enumerated type is `int`.)
0 commit comments