mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
8 lines
138 B
C
8 lines
138 B
C
|
|
const int FOO = 2;
|
|
|
|
fn void test()
|
|
{
|
|
$assert(FOO == 2, "Bad");
|
|
$assert(FOO == 0, "Good"); // #error: Compile time assert - Good
|
|
} |