diff options
author | Michael Forney <mforney@mforney.org> | 2019-02-17 13:39:02 -0800 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-02-17 13:45:07 -0800 |
commit | ed176e4211b27218b9182ead05a13fd6d27d46ac (patch) | |
tree | d1f9ae26cfb21d6fdc39ab5a05a28b715170ca56 /tests/struct-return-1.c | |
parent | fed14a31ca554b54c4f2eebefd09aeaeda782aba (diff) |
Fix returning struct/union types
Diffstat (limited to 'tests/struct-return-1.c')
-rw-r--r-- | tests/struct-return-1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/struct-return-1.c b/tests/struct-return-1.c new file mode 100644 index 0000000..e1631a8 --- /dev/null +++ b/tests/struct-return-1.c @@ -0,0 +1,3 @@ +struct s {int x;} f(void) { + return (struct s){2}; +} |