Files
c3c/test/test_suite/statements/do_without_compound.c3
Christoffer Lerno b31629c5e8 Removal of "or_else jump". Fixes to defer & macros/blocks, optimized failable return. @noscope macros removed. Disallow meaningless defer.
Correctly show error on return or rethrow inside of a defer. Fix copying an access expression. Removing scoped expr.
2022-03-26 20:16:36 +01:00

6 lines
94 B
C

fn void test1()
{
do test1(); while(1); // #error: A do loop must use { } around its body
}