Files
c3c/test/test_suite/assert/static_assert.c3

8 lines
116 B
C

const int FOO = 2;
fn void test()
{
$assert FOO == 2 : "Bad";
$assert FOO == 0 : "Good"; // #error: Good
}