aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-04 13:46:02 +0200
committerlemon <lsof@mailbox.org>2023-06-04 13:46:02 +0200
commitae8f6c54bc8dc2a439bff83b590481427c9ed58d (patch)
treeb01930e457cbada7cd37783d385afa32c0f10d92 /test.c
parentd8f63a7c8f9ec6c1213e219d4b6d5d30ce595cdd (diff)
enums
Diffstat (limited to 'test.c')
-rw-r--r--test.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test.c b/test.c
index 388f9f7..a86f2d2 100644
--- a/test.c
+++ b/test.c
@@ -71,6 +71,14 @@ void fill(char *p, int c, unsigned long n)
void zero(void *p, unsigned long n) { fill(p,0,n); }
+enum ball {
+ Zero,
+ Two = 2,
+ Three,
+ One = Zero + 1,
+ W = 1l<<44
+};
+
main(t) {
putc(t + 1, t + 2);
}