diff options
Diffstat (limited to 'test/conditional-constant.c')
-rw-r--r-- | test/conditional-constant.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/conditional-constant.c b/test/conditional-constant.c new file mode 100644 index 0000000..8ebb2a4 --- /dev/null +++ b/test/conditional-constant.c @@ -0,0 +1,6 @@ +int main(void) { + if ((0 ? 0 : 123) != 123) + return 1; + if ((1 ? 456 : 0) != 456) + return 1; +} |