diff options
author | Michael Forney <mforney@mforney.org> | 2019-04-16 12:26:18 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2019-04-16 12:26:18 -0700 |
commit | de004660726acb148bf0022706b7019ca560172d (patch) | |
tree | de95581449d1db324c074859615501cf8f0bc5c3 /test/struct-copy.c | |
parent | 953e1e6f287d8bc00b2ef8d2197a20a549274eb3 (diff) |
tests -> test
Diffstat (limited to 'test/struct-copy.c')
-rw-r--r-- | test/struct-copy.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/struct-copy.c b/test/struct-copy.c new file mode 100644 index 0000000..33084aa --- /dev/null +++ b/test/struct-copy.c @@ -0,0 +1,8 @@ +struct s { + char s[5]; + float f; +} x; + +void f(void) { + struct s y = x; +} |