summaryrefslogtreecommitdiff
path: root/05/main.c
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-01-27 10:57:18 -0500
committerpommicket <pommicket@gmail.com>2022-01-27 10:57:18 -0500
commit539f23eaec856f28e7776e94b077e0ddd775fee5 (patch)
treeb1b0b00315f8cbc71dbf1be7398a0ce0fe6d51d9 /05/main.c
parentd036dcc5ac24aaa499d7cec50a94eed645f76bfb (diff)
structs mostly working
Diffstat (limited to '05/main.c')
-rw-r--r--05/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/05/main.c b/05/main.c
index 0f69d38..31c99fc 100644
--- a/05/main.c
+++ b/05/main.c
@@ -13,7 +13,7 @@ typedef struct A {
long double c;
unsigned long d;
char e[3];
- char c[2];
- char d;
long f;
} A;
+
+typedef int x[(int)&((struct A*)0)->e];