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
with_gc
Last change
on this file since 23b6f4d7 was 62edde5, checked in by Thierry Delisle <tdelisle@…>, 9 years ago |
added new tests folder to replace existing one
|
-
Property mode
set to
100644
|
File size:
398 bytes
|
Rev | Line | |
---|
[62edde5] | 1 | int ?*?( int, int );
|
---|
| 2 |
|
---|
| 3 | int ?()( int number1, int number2 ) {
|
---|
| 4 | return number1 * number2;
|
---|
| 5 | }
|
---|
| 6 |
|
---|
| 7 | int ?+?( int, int );
|
---|
| 8 |
|
---|
| 9 | int ?=?( int *, int );
|
---|
| 10 | struct accumulator {
|
---|
| 11 | int total;
|
---|
| 12 | };
|
---|
| 13 |
|
---|
| 14 | char ?()( struct accumulator a, char number1, char number2 );
|
---|
| 15 |
|
---|
| 16 | void 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.