Søren Gjesse | b9e890c | 2023-04-21 08:58:40 +0200 | [diff] [blame] | 1 | // Copyright (c) 2023, the R8 project authors. Please see the AUTHORS file |
2 | // for details. All rights reserved. Use of this source code is governed by a | ||||
3 | // BSD-style license that can be found in the LICENSE file. | ||||
4 | |||||
5 | package enum_sealed; | ||||
6 | |||||
7 | public enum Enum { | ||||
8 | A, | ||||
9 | B { | ||||
10 | @Override | ||||
11 | public String toString() { | ||||
12 | return "a B"; | ||||
13 | } | ||||
14 | } | ||||
15 | } |