source: translator/Tests/ResolvExpr/Operators.c @ 91b216b4

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 91b216b4 was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

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