source: doc/theses/rob_schluntz/examples/poly.c@ bcb14b5

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since bcb14b5 was 728df66, checked in by Peter A. Buhr <pabuhr@…>, 8 years ago

more documentation name changes

  • Property mode set to 100644
File size: 136 bytes
Line 
1forall(dtype T)
2void foo(T x) {
3
4}
5
6forall(dtype T)
7void bar(T * y) { }
8
9int main() {
10 foo(5);
11 foo("baz");
12 foo(foo);
13 bar(foo);
14}
Note: See TracBrowser for help on using the repository browser.