source:
tests/zombies/Rank2.c
@
867fca3
Last change on this file since 867fca3 was 506d4f0, checked in by , 4 years ago | |
---|---|
|
|
File size: 346 bytes |
Rev | Line | |
---|---|---|
[506d4f0] | 1 | int ?=?( int &, int ); |
2 | forall(dtype DT) DT * ?=?( DT *&, DT * ); | |
[51b7345] | 3 | |
[a65d92e] | 4 | void a() { |
[55ba7339] | 5 | forall( otype T ) void f( T ); |
6 | void g( forall( otype U ) void p( U ) ); | |
[a65d92e] | 7 | g( f ); |
[51b7345] | 8 | } |
9 | ||
[a65d92e] | 10 | void g() { |
11 | void h( int *null ); | |
[55ba7339] | 12 | forall( otype T ) T id( T ); |
[506d4f0] | 13 | // forall( dtype T ) T *0; |
14 | // int 0; | |
[a65d92e] | 15 | h( id( id( id( 0 ) ) ) ); |
[51b7345] | 16 | } |
[a65d92e] | 17 | |
18 | // Local Variables: // | |
19 | // tab-width: 4 // | |
20 | // End: // |
Note: See TracBrowser
for help on using the repository browser.