source: doc/theses/rob_schluntz_MMath/examples/poly.c @ 06c61e2

ADTast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 06c61e2 was 67982887, checked in by Peter A. Buhr <pabuhr@…>, 6 years ago

specialize thesis directory-names

  • 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.