summaryrefslogtreecommitdiff
path: root/regress/usr.bin/pcc/ccom/enum001.c
diff options
context:
space:
mode:
Diffstat (limited to 'regress/usr.bin/pcc/ccom/enum001.c')
-rw-r--r--regress/usr.bin/pcc/ccom/enum001.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/regress/usr.bin/pcc/ccom/enum001.c b/regress/usr.bin/pcc/ccom/enum001.c
deleted file mode 100644
index debeb7a77d2..00000000000
--- a/regress/usr.bin/pcc/ccom/enum001.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/* code should produce exactly one warning */
-
-enum foo { bar };
-enum footoo { bar1 };
-
-enum foo f(void) { return bar; }
-double g(void) { return 0.0; }
-
-struct baz {
- enum foo (*ff)(void);
-};
-
-struct baz a[] = { {f},
- {g} };
-
-
-static int h(enum foo *);
-static int h(enum foo *arg)
-{
- return 0;
-}
-
-int main()
-{
- return 0;
-}