ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 9b4483a0 was
bf71cfd,
checked in by Thierry Delisle <tdelisle@…>, 6 years ago
|
Moved up many directories in source
|
-
Property mode set to
100644
|
File size:
342 bytes
|
Line | |
---|
1 | int ?=?( int *, int ); |
---|
2 | forall(dtype DT) DT * ?=?( DT **, DT * ); |
---|
3 | |
---|
4 | void a() { |
---|
5 | forall( otype T ) void f( T ); |
---|
6 | void g( forall( otype U ) void p( U ) ); |
---|
7 | g( f ); |
---|
8 | } |
---|
9 | |
---|
10 | void g() { |
---|
11 | void h( int *null ); |
---|
12 | forall( otype T ) T id( T ); |
---|
13 | forall( dtype T ) T *0; |
---|
14 | int 0; |
---|
15 | h( id( id( id( 0 ) ) ) ); |
---|
16 | } |
---|
17 | |
---|
18 | // Local Variables: // |
---|
19 | // tab-width: 4 // |
---|
20 | // End: // |
---|
Note: See
TracBrowser
for help on using the repository browser.