ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
string
with_gc
Last change
on this file since f7d59bf was 843054c2, checked in by Peter A. Buhr <pabuhr@…>, 10 years ago |
licencing: seventh groups of files
|
-
Property mode
set to
100644
|
File size:
192 bytes
|
Line | |
---|
1 | context has_q( type T )
|
---|
2 | {
|
---|
3 | T q( T );
|
---|
4 | };
|
---|
5 |
|
---|
6 | forall( type z | has_q( z ) )
|
---|
7 | void f()
|
---|
8 | {
|
---|
9 | context has_r( type T, type U )
|
---|
10 | {
|
---|
11 | T r( T, T (T,U) );
|
---|
12 | };
|
---|
13 |
|
---|
14 | extern type x, y | has_r( x, y );
|
---|
15 |
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.