diff --git a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py --- a/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py +++ b/lldb/test/API/lang/cpp/const_static_integral_member/TestConstStaticIntegralMember.py @@ -67,12 +67,6 @@ self.expect_expr("A::scoped_ll_enum_val_neg", result_value="case0") self.expect_expr("A::scoped_ll_enum_val", result_value="case2") - # Test an aliased enum with fixed underlying type. - self.expect_expr("ClassWithEnumAlias::enum_alias", - result_value="scoped_enum_case2") - self.expect_expr("ClassWithEnumAlias::enum_alias_alias", - result_value="scoped_enum_case1") - # Test taking address. if lldbplatformutil.getPlatform() == "windows": # On Windows data members without the out-of-class definitions still have @@ -102,3 +96,9 @@ self.expect_expr("ClassWithConstexprs::member", result_value="2") self.expect_expr("ClassWithConstexprs::enum_val", result_value="enum_case2") self.expect_expr("ClassWithConstexprs::scoped_enum_val", result_value="scoped_enum_case2") + + # Test an aliased enum with fixed underlying type. + self.expect_expr("ClassWithEnumAlias::enum_alias", + result_value="scoped_enum_case2") + self.expect_expr("ClassWithEnumAlias::enum_alias_alias", + result_value="scoped_enum_case1")