Files
c3c/test/test_suite/compile_time/ct_and_or.c3
2025-05-14 23:40:36 +02:00

9 lines
211 B
Plaintext

fn void test()
{
$assert false ||| false ||| true ||| hello("");
$assert !(false &&& hello(""));
$assert !(true &&& true &&& false &&& hello(""));
int y;
bool x = true &&& y > 0;
bool z = true ||| y > 0;
}