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 134b86a was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
351 bytes
|
Line | |
---|
1 | int ?*?( int, int ); |
---|
2 | |
---|
3 | int |
---|
4 | ?()( int number1, int number2 ) |
---|
5 | { |
---|
6 | return number1 * number2; |
---|
7 | } |
---|
8 | |
---|
9 | int ?+?( int, int ); |
---|
10 | |
---|
11 | int ?=?( int*, int ); |
---|
12 | struct accumulator |
---|
13 | { |
---|
14 | int total; |
---|
15 | }; |
---|
16 | |
---|
17 | char ?()( struct accumulator a, char number1, char number2 ); |
---|
18 | |
---|
19 | void |
---|
20 | f( 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.