source: translator/examples/ctxts.c @ f7f6785

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

add compiler flag to driver, update examples, fix unnamed bit fields

  • Property mode set to 100644
File size: 144 bytes
RevLine 
[a0d9f94]1context has_f( type T ) {
2    T f( T );
3};
4
5context has_g( type U | has_f( U ) ) {
6    U g( U );
7};
8
9forall( type V | has_g( V ) ) void h( V );
Note: See TracBrowser for help on using the repository browser.