source: src/Tests/Operators.c @ a1d5d2a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newstringwith_gc
Last change on this file since a1d5d2a 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
Line 
1int ?*?( int, int );
2
3int ?()( int number1, int number2 ) {
4        return number1 * number2;
5}
6
7int ?+?( int, int );
8
9int ?=?( int *, int );
10struct accumulator {
11        int total;
12};
13
14char ?()( struct accumulator a, char number1, char number2 );
15
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;
23}
24
25// Local Variables: //
26// tab-width: 4 //
27// End: //
Note: See TracBrowser for help on using the repository browser.