ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
Last change
on this file since 293377c was 12d3187, checked in by Rob Schluntz <rschlunt@…>, 8 years ago |
final revisions to thesis
|
-
Property mode
set to
100644
|
File size:
136 bytes
|
Line | |
---|
1 | forall(dtype T)
|
---|
2 | void foo(T x) {
|
---|
3 |
|
---|
4 | }
|
---|
5 |
|
---|
6 | forall(dtype T)
|
---|
7 | void bar(T * y) { }
|
---|
8 |
|
---|
9 | int main() {
|
---|
10 | foo(5);
|
---|
11 | foo("baz");
|
---|
12 | foo(foo);
|
---|
13 | bar(foo);
|
---|
14 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.