source: src/Tests/Operators.c@ 3cfe27f

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors ctor deferred_resn demangler enum forall-pointer-decay gc_noraii jacob/cs343-translation jenkins-sandbox memory new-ast new-ast-unique-expr new-env no_list persistent-indexer pthread-emulation qualifiedEnum resolv-new string with_gc
Last change on this file since 3cfe27f was b1d6dd5, checked in by Peter A. Buhr <pabuhr@…>, 10 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.