mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
10 lines
140 B
Java
10 lines
140 B
Java
class Test {
|
|
void foo(String s) {
|
|
int x = switch(s) {
|
|
case "a", "b" -> 1;
|
|
case "c" -> 2;
|
|
default -> 3;
|
|
};
|
|
}
|
|
}
|