aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorgrischka <grischka>2016-05-05 20:04:00 +0200
committergrischka <grischka>2016-05-05 20:04:00 +0200
commitd48662d49650099e5ab9e1fe218311a18c2ff73a (patch)
tree4af92eb69304fdef3e48c6ddb1a8972df80f0855 /tests
parentfe845cf53da206bb28f6b49a0878b0118b4f242b (diff)
downloadtinycc-d48662d49650099e5ab9e1fe218311a18c2ff73a.tar.gz
tinycc-d48662d49650099e5ab9e1fe218311a18c2ff73a.tar.bz2
tccgen: scopes levels for local symbols (update 1)
Catch top level redeclarations too. Also fix mistakes in tcctest.c and the tcc sources (win32) showing up now.
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 823a657..14cf5f3 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -2303,7 +2303,9 @@ void c99_vla_test(int size1, int size2)
#endif
}
+#ifndef __TINYC__
typedef __SIZE_TYPE__ uintptr_t;
+#endif
void sizeof_test(void)
{