Changes in src/tests/Context.c [e5b96bf:a0dcd2e]
- File:
-
- 1 edited
-
src/tests/Context.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Context.c
re5b96bf ra0dcd2e 1 // cforall context declaration1 // trait 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 context has_r( otype T, otype U ) {7 trait 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.