diff options
Diffstat (limited to 'tests/struct_return.c')
-rw-r--r-- | tests/struct_return.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/struct_return.c b/tests/struct_return.c new file mode 100644 index 0000000..3d98574 --- /dev/null +++ b/tests/struct_return.c @@ -0,0 +1,16 @@ +struct foo { + int xyz1; + int xyz2; + int xyz3; + int xyz4; + int xyz5; + int xyz6; + int xyz7; + int xyz8; +}; + +extern struct foo baz(int bar); + +struct foo baz(int bar) { + return (struct foo){1}; +} |