ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since b51e5fdb was
728df66,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
more documentation name changes
|
-
Property mode set to
100644
|
File size:
136 bytes
|
Rev | Line | |
---|
[12d3187] | 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.