commit 83641b5afb00ef76a2b397a2591a705dd1488c7f
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Fri Aug 14 18:23:39 2015 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Fri Aug 14 18:23:39 2015 +0200

    Add correct output for TEST003
    
    stateless take a look that it even optimize out
    the ternary operator.

diff --git a/cc1/tests/test003.c b/cc1/tests/test003.c
index fdbc88b..f2c547d 100644
--- a/cc1/tests/test003.c
+++ b/cc1/tests/test003.c
@@ -2,6 +2,22 @@
 name: TEST003
 description: Select function to call inside ternary operator
 output:
+F1
+X1     F1      foo
+G1     F1      foo     {
+-
+       yI      #I2A
+}
+X2     F1      bar
+G2     F1      bar     {
+-
+       yI      #I18
+}
+X3     F1      main
+G3     F1      main    {
+-
+       yI      G1      cI
+}
 */
 
 int

Reply via email to