CAP/MiniC/TP04/tests/students/base/test_println_float.c

15 lines
241 B
C
Raw Normal View History

2024-10-21 23:10:10 +02:00
#include "printlib.h"
int main() {
int x, y;
println_float(15.0);
println_float(y+2);
return 0;
}
// SKIP TEST EXPECTED
// EXITCODE 2
// EXPECTED
// In function main: Line 7 col 2: invalid type for println_float statement: integer