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/108_constructor.c | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 tinycc/tests/tests2/108_constructor.c (limited to 'tinycc/tests/tests2/108_constructor.c') diff --git a/tinycc/tests/tests2/108_constructor.c b/tinycc/tests/tests2/108_constructor.c deleted file mode 100644 index 145d0da..0000000 --- a/tinycc/tests/tests2/108_constructor.c +++ /dev/null @@ -1,20 +0,0 @@ -extern int write (int fd, void *buf, int len); - -static void __attribute__ ((constructor)) -testc (void) -{ - write (1, "constructor\n", 12); -} - -static void __attribute__ ((destructor)) -testd (void) -{ - write (1, "destructor\n", 11); -} - -int -main (void) -{ - write (1, "main\n", 5); - return 0; -} -- cgit v1.2.3