Files
c3c/test/test_suite/defer/defer_try_catch.c3t
2024-11-18 15:53:27 +01:00

10 lines
151 B
Plaintext

// Check that this work.
import std::net;
fn void main() {
Socket s;
defer {
char[1024] buf;
while (try s.read(&buf));
}
}