// "Unroll loop" "true-preview" class X { void test() { for (int x : new int[]{1}) { class Y { int a = x; } } class Y {} } }