From 8391b13848fc9dea3548cc1d78965792ad600324 Mon Sep 17 00:00:00 2001 From: Peter Wu Date: Fri, 9 Dec 2011 10:31:19 +0000 Subject: Add some tests --- tests/ternary-op.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/ternary-op.c (limited to 'tests/ternary-op.c') 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; +} -- cgit v1.2.1