Test helper: Function with implicit fallthrough
| 15 | |
| 16 | // Test helper: Function with implicit fallthrough |
| 17 | static int fallthrough_function(int x) { |
| 18 | switch(x) { |
| 19 | case 1: |
| 20 | FL_DISABLE_WARNING_PUSH |
| 21 | FL_DISABLE_WARNING_IMPLICIT_FALLTHROUGH |
| 22 | // fallthrough |
| 23 | case 2: |
| 24 | FL_DISABLE_WARNING_POP |
| 25 | return 20; |
| 26 | default: |
| 27 | return 0; |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | // Test helper: Fast math function |
| 32 | FL_FAST_MATH_BEGIN |