diff --git a/Examples/test-suite/enum_scope.i b/Examples/test-suite/enum_scope.i index 9067cecde..e500adee4 100644 --- a/Examples/test-suite/enum_scope.i +++ b/Examples/test-suite/enum_scope.i @@ -12,6 +12,9 @@ enum types {Oak, Fir, Cedar,}; void chop(enum types type) {} void test(int x = Oak + Fir + Cedar) {} }; -enum Tree::types chop(enum Tree::types type) { return type; } +#ifndef __SUNPRO_CC +enum +#endif +Tree::types chop(enum Tree::types type) { return type; } %}