testcase for gcc ?: operator
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 1 Sep 2008 00:29:01 +0000 (00:29 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Mon, 1 Sep 2008 00:29:01 +0000 (00:29 +0000)
[r21613]

parsetest/gnu99/omitted_cond.c [new file with mode: 0644]

diff --git a/parsetest/gnu99/omitted_cond.c b/parsetest/gnu99/omitted_cond.c
new file mode 100644 (file)
index 0000000..5a99361
--- /dev/null
@@ -0,0 +1,5 @@
+int main(int argc, char *argv[]) {
+       int res = argc ? : 8;
+
+       return 0;
+}