From 1d943da0cf9154e7ce78ce867cdbb91531c5d78e Mon Sep 17 00:00:00 2001 From: Matthew Sotoudeh Date: Tue, 25 Jul 2023 14:58:33 -0700 Subject: initial dietc commit --- tests/unnamed_fields.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/unnamed_fields.c (limited to 'tests/unnamed_fields.c') diff --git a/tests/unnamed_fields.c b/tests/unnamed_fields.c new file mode 100644 index 0000000..d259d44 --- /dev/null +++ b/tests/unnamed_fields.c @@ -0,0 +1,13 @@ +struct xyz { + int z; + struct { + int x; + int y; + }; +}; + +int main() { + struct xyz abc; + abc.x = 5; + return abc.x; +} -- cgit v1.2.3