Files
c3c/test/test_suite/functions/unreachable_code_trace.c3
Christoffer Lerno dda2d2ecbe Show code that caused unreachable code #2207
`$echo` would suppress warning about unreachable code. #2205
2025-06-15 00:37:28 +02:00

12 lines
182 B
Plaintext

import std;
macro something() {
unreachable("Hi there");
}
fn void main() {
something();
$echo "Hello";
io::printn("Hello, World"); // #warning: This code will never execute
}