// "Add on-demand static import for 'test.Test.Letter'" "true-preview"
package test;

import static test.Test.Letter.*;

class Test {
  void test(Letter obj) {
    switch (obj) {
      case LETTER_A, LETTER_B ->  System.out.println(10);
      case Letter l  -> System.out.println(20);
    }
  }

  enum Letter {LETTER_A, LETTER_B, LETTER_C}
}
