diff options
Diffstat (limited to 'tests/ternary-op.c')
-rw-r--r-- | tests/ternary-op.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ternary-op.c b/tests/ternary-op.c new file mode 100644 index 0000000..936e011 --- /dev/null +++ b/tests/ternary-op.c @@ -0,0 +1,6 @@ +int res, second; +int main() { + res = 0 ? 2 : 3; + second = 1 ? 2 : 3; + return 0; +} |