source: src/Tests/ResolvExpr/InferParam.c@ f7d59bf

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 f7d59bf was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago

licencing: seventh groups of files

  • Property mode set to 100644
File size: 407 bytes
Line 
1int ?=?( int*, int );
2float ?=?( float*, float );
3double ?=?( double*, double );
4
5forall( type T, type U | { U f(T); } ) U g(T);
6float f( int );
7double f( int );
8void i( float );
9
10void h()
11{
12 int a;
13 i( g( a ) );
14}
15
16context has_f_and_j( type T, type U )
17{
18 U f( T );
19 U j( T, U );
20};
21
22float j( int, float );
23forall( type T, type U | has_f_and_j( T, U ) ) U k( T );
24
25void l()
26{
27 int b;
28 i( k( b ) );
29}
Note: See TracBrowser for help on using the repository browser.