Changes in src/Tests/InferParam.c [55ba7339:b1d6dd5]
- File:
-
- 1 edited
-
src/Tests/InferParam.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Tests/InferParam.c
r55ba7339 rb1d6dd5 3 3 double ?=?( double*, double ); 4 4 5 forall( otype T, otype U | { U f(T); } ) U g(T);5 forall( type T, type U | { U f(T); } ) U g(T); 6 6 float f( int ); 7 7 double f( int ); … … 13 13 } 14 14 15 context has_f_and_j( otype T, otype U ) {15 context has_f_and_j( type T, type U ) { 16 16 U f( T ); 17 17 U j( T, U ); … … 19 19 20 20 float j( int, float ); 21 forall( otype T, otype U | has_f_and_j( T, U ) ) U k( T );21 forall( type T, type U | has_f_and_j( T, U ) ) U k( T ); 22 22 23 23 void l() {
Note:
See TracChangeset
for help on using the changeset viewer.