ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
with_gc
|
Last change
on this file since d01811a was e757af2, checked in by Thierry Delisle <tdelisle@…>, 9 years ago |
|
renamed all tests to lower-case leading character
|
-
Property mode
set to
100644
|
|
File size:
307 bytes
|
| Rev | Line | |
|---|
| [62edde5] | 1 | int f1( int i = 3, int *j = 0 ) {} /* ANSI */
|
|---|
| 2 | [int, int ] f2( int i = 3, * int j = 0 ) {} /* CFA */
|
|---|
| 3 |
|
|---|
| 4 | int main() {
|
|---|
| 5 | f1(); /* identical calls */
|
|---|
| 6 | f1( 3 );
|
|---|
| 7 | f1( 3, );
|
|---|
| 8 | f1( 3, 0 );
|
|---|
| 9 | f1( 3, j : 0 );
|
|---|
| 10 | f1( j : 0, 3 );
|
|---|
| 11 | f1( i : 3, j : 0 );
|
|---|
| 12 | f1( j : 0, i : 3 );
|
|---|
| 13 | f1( [j, i] : f2() );
|
|---|
| 14 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.