Changes in src/tests/Context.c [a0dcd2e:e5b96bf]
- File:
-
- 1 edited
-
src/tests/Context.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Context.c
ra0dcd2e re5b96bf 1 // trait declaration1 //cforall context declaration 2 2 trait has_q( otype T ) { 3 3 T q( T ); … … 5 5 6 6 forall( otype z | has_q( z ) ) void f() { 7 trait has_r( otype T, otype U ) {7 context has_r( otype T, otype U ) { 8 8 T r( T, T (T,U) ); 9 9 };
Note:
See TracChangeset
for help on using the changeset viewer.