Skip to content

Commit 193de1a

Browse files
committed
[clang-repl] Spell out the enum types to appease some bots.
This change is a follow-up of #148701 where clang-s390x-linux and clang-s390x-linux-lnt failed.
1 parent b5348e7 commit 193de1a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/test/Interpreter/pretty-print.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ S4{}
2828
// CHECK-NEXT: (S4) @0x{{[0-9a-f]+}}
2929
// TODO-CHECK-NEXT: ~S4()
3030

31-
enum Enum{ e1 = -12, e2, e3=33, e4, e5 = 33};
31+
enum Enum : int { e1 = -12, e2, e3=33, e4, e5 = 33};
3232
e2
3333
// CHECK-NEXT: (Enum) (e2) : int -11
3434
::e1
3535
// CHECK-NEXT: (Enum) (e1) : int -12
3636

37-
enum class Color { R = 0, G, B };
37+
enum class Color : unsigned int { R = 0, G, B };
3838
Color::R
39-
// CHECK-NEXT: (Color) (Color::R) : int 0
39+
// CHECK-NEXT: (Color) (Color::R) : unsigned int 0
4040

4141

4242
// Lambdas.

0 commit comments

Comments
 (0)