source: tests/bugs/203-3.cfa @ 15806ed

arm-ehjacob/cs343-translationnew-astnew-ast-unique-expr
Last change on this file since 15806ed was 15806ed, checked in by Andrew Beach <ajbeach@…>, 17 months 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.