source: src/examples/Rank2.c@ d8cb7df

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 no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since d8cb7df was ca26509, checked in by Peter A. Buhr <pabuhr@…>, 9 years ago

relocate and delete example programs under Test directory to test/examples directories

  • Property mode set to 100644
File size: 342 bytes
RevLine 
[a65d92e]1int ?=?( int *, int );
2forall(dtype DT) DT * ?=?( DT **, DT * );
[51b73452]3
[a65d92e]4void a() {
[55ba7339]5 forall( otype T ) void f( T );
6 void g( forall( otype U ) void p( U ) );
[a65d92e]7 g( f );
[51b73452]8}
9
[a65d92e]10void g() {
11 void h( int *null );
[55ba7339]12 forall( otype T ) T id( T );
[a65d92e]13 forall( dtype T ) T *0;
14 int 0;
15 h( id( id( id( 0 ) ) ) );
[51b73452]16}
[a65d92e]17
18// Local Variables: //
19// tab-width: 4 //
20// End: //
Note: See TracBrowser for help on using the repository browser.