source: translator/Tests/ResolvExpr/Rank2.c @ 1db2c5be

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 1db2c5be was 51b7345, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

initial commit

  • Property mode set to 100644
File size: 316 bytes
Line 
1int ?=?( int*, int );
2forall(dtype DT) DT*            ?=?( DT *          *,            DT* );
3
4void a()
5{
6  forall( type T ) void f( T );
7  void g( forall( type U ) void p( U ) );
8  g( f );
9}
10
11void 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.