summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/05/main.c b/05/main.c
index 5579b45..deea88f 100644
--- a/05/main.c
+++ b/05/main.c
@@ -16,4 +16,13 @@ typedef struct A {
long f;
} A;
-typedef int x[(unsigned)-3];
+typedef union B{
+ int x;
+ struct {
+ int y;
+ struct {long z; } c;
+ } c;
+}B;
+
+typedef int x[sizeof(A)];
+typedef int y[sizeof(struct B)];