Changeset c62013e for tests/enum_tests/planet.cfa
- Timestamp:
- Jul 14, 2026, 9:26:24 PM (4 hours ago)
- Branches:
- master
- Children:
- a12816e7
- Parents:
- f41b161
- File:
-
- 1 edited
-
tests/enum_tests/planet.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/enum_tests/planet.cfa
rf41b161 rc62013e 36 36 37 37 // Planet rp = fromInt( prng( countof( Planet ) ) ); // select random orbiting body 38 39 #pragma GCC diagnostic push 40 // FIX ME: false positive with gcc > 11, so disable. 41 #pragma GCC diagnostic ignored "-Wdangling-pointer" 38 42 Planet rp = fromInt( countof( Planet ) - 1 ); // non-random for test suite 43 #pragma GCC diagnostic pop 44 39 45 choose( rp ) { // implicit breaks 40 46 case MERCURY, VENUS, EARTH, MARS:
Note:
See TracChangeset
for help on using the changeset viewer.