source: src/tests/Context.c @ 4efe4d1

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 4efe4d1 was 21eb693, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

Merge branch 'master' of plg2:software/cfa/cfa-cc

Conflicts:

src/tests/Context.c

  • Property mode set to 100644
File size: 271 bytes
Line 
1// trait declaration
2
3trait has_q( otype T ) {
4        T q( T );
5};
6
7forall( otype z | has_q( z ) ) void f() {
8        trait has_r( otype T, otype U ) {
9                T r( T, T (T,U) );
10        };
11
12        extern otype x, y | has_r( x, y );
13}
14
15//Dummy main
16int main(int argc, char const *argv[])
17{
18        return 0;
19}
Note: See TracBrowser for help on using the repository browser.