test(dynamic x) { if (x case const Foo(1)) {} }