source: tests/bugs/196.cfa @ 63ec5fa

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 63ec5fa was d13dd6b, checked in by Andrew Beach <ajbeach@…>, 4 years ago

Added the example for trac#196.

  • Property mode set to 100644
File size: 324 bytes
Line 
1// Trac ticket
2// https://cforall.uwaterloo.ca/trac/ticket/196
3
4forall(dtype T)
5struct link;
6
7forall(dtype T)
8struct link {
9        link(T) * next;
10};
11
12// -----
13
14forall(dtype T)
15struct foo;
16
17forall(dtype U)
18struct bar {
19        foo(U) * data;
20};
21
22forall(dtype T)
23struct foo {};
24
25// -----
26
27int main(int argc, char * argv[]) {
28        return 0;
29}
Note: See TracBrowser for help on using the repository browser.