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 0b8cd722 was
51b7345,
checked in by Peter A. Buhr <pabuhr@…>, 10 years ago
|
initial commit
|
-
Property mode set to
100644
|
File size:
316 bytes
|
Line | |
---|
1 | int ?=?( int*, int ); |
---|
2 | forall(dtype DT) DT* ?=?( DT * *, DT* ); |
---|
3 | |
---|
4 | void a() |
---|
5 | { |
---|
6 | forall( type T ) void f( T ); |
---|
7 | void g( forall( type U ) void p( U ) ); |
---|
8 | g( f ); |
---|
9 | } |
---|
10 | |
---|
11 | void g() |
---|
12 | { |
---|
13 | void h( int *null ); |
---|
14 | forall( type T ) T id( T ); |
---|
15 | forall( dtype T ) T *0; |
---|
16 | int 0; |
---|
17 | h( id( id( id( 0 ) ) ) ); |
---|
18 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.