ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
Last change
on this file since db82596 was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago |
licencing: seventh groups of files
|
-
Property mode
set to
100644
|
File size:
316 bytes
|
Rev | Line | |
---|
[51b73452] | 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.