source: src/Tests/Operators.c @ b617e4b

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 b617e4b was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

fix parsing error for EOF message, change cfa-ccp -x flag to -v, regression testing third attempt: consolidate example programs

  • Property mode set to 100644
File size: 398 bytes
RevLine 
[51b7345]1int ?*?( int, int );
2
[a65d92e]3int ?()( int number1, int number2 ) {
4        return number1 * number2;
[51b7345]5}
6
7int ?+?( int, int );
8
[a65d92e]9int ?=?( int *, int );
10struct accumulator {
11        int total;
[51b7345]12};
13
14char ?()( struct accumulator a, char number1, char number2 );
15
[a65d92e]16void f( void ) {
17        char a, b;
18        ?()( a, b );
19        a(b);
20        a + b;
21        struct accumulator ?+?; // why not, eh?
22        a + b;
[51b7345]23}
[a65d92e]24
25// Local Variables: //
26// tab-width: 4 //
27// End: //
Note: See TracBrowser for help on using the repository browser.