From 88d82c6eaee88398af1de57cddca692a1f74b087 Mon Sep 17 00:00:00 2001 From: Uneven Prankster Date: Mon, 17 Jul 2023 01:34:34 -0300 Subject: Cleanup feels good! Big work coming up this week. --- tinycc/tests/tests2/109_float_struct_calling.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 tinycc/tests/tests2/109_float_struct_calling.c (limited to 'tinycc/tests/tests2/109_float_struct_calling.c') diff --git a/tinycc/tests/tests2/109_float_struct_calling.c b/tinycc/tests/tests2/109_float_struct_calling.c deleted file mode 100644 index 90fc045..0000000 --- a/tinycc/tests/tests2/109_float_struct_calling.c +++ /dev/null @@ -1,24 +0,0 @@ -#include - -/* This test used to fail on x86_64 on linux with sse registers */ - -struct Point { - float x; - float y; -}; - -struct Rect { - struct Point top_left; - struct Point size; -}; - -float foo(struct Point p, struct Rect r) { - return r.size.x; -} - -int main(int argc, char **argv) { - struct Point p = {1, 2}; - struct Rect r = {{3, 4}, {5, 6}}; - printf("%f\n", foo(p, r)); - return 0; -} -- cgit v1.2.3