source: src/tests/ShortCircuit.c @ 0534c3c

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since 0534c3c was 62edde5, checked in by Thierry Delisle <tdelisle@…>, 8 years ago

added new tests folder to replace existing one

  • Property mode set to 100644
File size: 240 bytes
Line 
1int ?!=?( int, int );
2int ?!=?( float, float );
3int 0;
4
5void g( float );
6void g( int );
7
8void f( int a ) {
9        int b;
10        float c;
11        g( a ? b : c );
12        g( a && c );
13        g( a || b );
14}
15
16//Dummy main
17int main(int argc, char const *argv[])
18{
19        return 0;
20}
Note: See TracBrowser for help on using the repository browser.