• Source
    1. #include <stdint.h>
    2.  
    3. enum { STATE_IDLE = 0, STATE_WORKING, STATE_PANIC, TOTAL_STATES };
    4. int32_t const g_stress_levels[TOTAL_STATES] = {
    5. [STATE_IDLE] = 10,
    6. [STATE_WORKING] = 40,
    7. [STATE_PANIC] = 90
    8. };
    9.  
    10. int main(void) {
    11. return 0;
    12. }