aboutsummaryrefslogtreecommitdiff
path: root/tests2/17_enum.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests2/17_enum.c')
-rw-r--r--tests2/17_enum.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests2/17_enum.c b/tests2/17_enum.c
deleted file mode 100644
index 0853c42..0000000
--- a/tests2/17_enum.c
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <stdio.h>
-
-enum fred
-{
- a,
- b,
- c,
- d,
- e = 54,
- f = 73,
- g,
- h
-};
-
-int main()
-{
- enum fred frod;
-
- printf("%d %d %d %d %d %d %d %d\n", a, b, c, d, e, f, g, h);
- /* printf("%d\n", frod); */
- frod = 12;
- printf("%d\n", frod);
- frod = e;
- printf("%d\n", frod);
-
- return 0;
-}
-
-/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/