aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 8aa50ab..6218983 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -3031,3 +3031,10 @@ void attrib_test(void)
printf("attr: %d %d\n", sizeof(Spacked3), sizeof(spacked3));
#endif
}
+extern __attribute__((__unused__)) char * __attribute__((__unused__)) *
+strange_attrib_placement (void);
+
+void * __attribute__((__unused__)) get_void_ptr (void *a)
+{
+ return a;
+}