source: tests/bugs/203-3.cfa @ b81fd95

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

Added bugs for 203 (the new multipart one) and 140 (the only issue marked critical).

  • Property mode set to 100644
File size: 268 bytes
Line 
1// Trac ticket: https://cforall.uwaterloo.ca/trac/ticket/203
2
3forall(dtype B)
4struct counter {
5        int count;
6};
7
8forall(dtype D)
9struct wrap_c {
10        counter(D) field;
11};
12
13counter(int) count_obj = {5};
14counter(char) count_obj = {5};
15
16wrap_c(int) error_obj @= { count_obj };
Note: See TracBrowser for help on using the repository browser.