aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 7fd8171..41a9a10 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -642,6 +642,11 @@ union union2 {
struct struct1 st1, st2;
+struct empty_mem {
+ /* nothing */ ;
+ int x;
+};
+
int main(int argc, char **argv)
{
string_test();