Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/ifcond.c

    ra01f7c94 rd56cc219  
    99// Author           : Peter A. Buhr
    1010// Created On       : Sat Aug 26 10:13:11 2017
    11 // Last Modified By : Rob Schluntz
    12 // Last Modified On : Fri Sep 01 15:22:19 2017
    13 // Update Count     : 14
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Sat Jun  2 09:55:02 2018
     13// Update Count     : 15
    1414//
    1515
     
    4040                sout | "x != y incorrect" | endl;
    4141        } // if
     42
     43        if ( struct S { int i; } s = { 3 }; s.i < 4 ) {
     44                sout | "s.i < 4 correct" | endl;
     45        } else {
     46                sout | "s.i >= 4 incorrect" | endl;
     47        } // if
    4248} // main
    4349
Note: See TracChangeset for help on using the changeset viewer.