This fixes another external testsuite failure
Showing the changes to tests/tests2 (2 of 3 files). Show all
Unified · Split
| @@ -6,6 +6,8 @@ float x; · 5 unmodified lines | ||
| 6 | 6 | return 2.0 * x; |
| 7 | 7 | } |
| 8 | 8 | |
| 9 | +void func(float a); | |
| 10 | + | |
| 9 | 11 | int |
| 10 | 12 | main(void) |
| 11 | 13 | { |
| @@ -13,6 +15,7 @@ main(void) · 1 unmodified line | ||
| 13 | 15 | |
| 14 | 16 | printf("%g %g\n", fx(2.0), fy(10.0)); |
| 15 | 17 | printf("%g %g\n", fx(2.0f), fy(10.0f)); |
| 18 | + func(1); | |
| 16 | 19 | } |
| 17 | 20 | |
| 18 | 21 | float fy(x) |
| @@ -21,3 +24,8 @@ float x; · 2 unmodified lines | ||
| 21 | 24 | return 3.0 * x; |
| 22 | 25 | } |
| 23 | 26 | |
| 27 | +void func(a) | |
| 28 | +float a; | |
| 29 | +{ | |
| 30 | + printf("%g\n", a); | |
| 31 | +} | |
| @@ -1,2 +1,3 @@ | ||
| 1 | 1 | 4 30 |
| 2 | 2 | 4 30 |
| 3 | +1 | |