@@ -0,0 +1,716 @@
+# test for-else statement%0A%0A# test optimised range with simple else%0Afor i in range(2):%0A    print(i)%0Aelse:%0A    print('else')%0A%0A# test optimised range with break over else%0Afor i in range(2):%0A    print(i)%0A    break%0Aelse:%0A    print('else')%0A%0A# test nested optimised range with continue in the else%0Afor i in range(4):%0A    print(i)%0A    for j in range(4):%0A        pass%0A    else:%0A        continue%0A    break%0A%0A# test optimised range with non-constant end value%0AN = 2%0Afor i in range(N):%0A    print(i)%0Aelse:%0A    print('else')%0A%0A# test generic iterator with simple else%0Afor i in %5B0, 1%5D:%0A    print(i)%0Aelse:%0A    print('else')%0A%0A# test generic iterator with break over else%0Afor i in %5B0, 1%5D:%0A    print(i)%0A    break%0Aelse:%0A    print('else')%0A

Add tests for for-else statement.