source: src/Tests/Context.c @ e04ef3a

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsctordeferred_resndemanglerenumforall-pointer-decaygc_noraiijacob/cs343-translationjenkins-sandboxmemorynew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change on this file since e04ef3a was 55ba733, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

update keywords in test files

  • Property mode set to 100644
File size: 241 bytes
Line 
1context has_q( otype T ) {
2        T q( T );
3};
4
5forall( otype z | has_q( z ) ) void f() {
6        context has_r( otype T, otype U ) {
7                T r( T, T (T,U) );
8        };
9 
10        extern otype x, y | has_r( x, y );
11}
12
13// Local Variables: //
14// tab-width: 4 //
15// End: //
Note: See TracBrowser for help on using the repository browser.