From 80811671d439e4953961e3bcbe7ce09a34c96d2a Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Sun, 30 Mar 2014 12:55:32 +0800 Subject: Add tests for previous fixes Add tests for the fixes made in commits 76cb1144ef91924c53c57ea71e6f67ce73ce1cc6, a465b7f58fdea15caa1bfb81ff5e985c94c4df4a, 0f522fb32a635dafce30f3ce3ff2cb15bcec809e, 82969f045c99b4d1ef833de35117c17b326b46c0 and 673befd2d7745a90c1c4fcb6d2f0e266c04f8c97. --- tests/tests2/62_enumerator_redefinition.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/tests2/62_enumerator_redefinition.c (limited to 'tests/tests2/62_enumerator_redefinition.c') diff --git a/tests/tests2/62_enumerator_redefinition.c b/tests/tests2/62_enumerator_redefinition.c new file mode 100644 index 0000000..3da85ae --- /dev/null +++ b/tests/tests2/62_enumerator_redefinition.c @@ -0,0 +1,4 @@ +enum color {RED, GREEN, BLUE}; +enum rgb {RED, G, B}; + +enum color c = RED; -- cgit v1.3.1