Changeset 660665f for tests/forall.cfa
- Timestamp:
- Jun 29, 2021, 5:35:19 PM (4 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- dcad80a
- Parents:
- 5a46e09 (diff), d02e547 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
tests/forall.cfa (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/forall.cfa
r5a46e09 r660665f 199 199 } 200 200 201 forall( T ) void check_otype() { 202 T & tr = *0p; 203 T * tp = 0p; 204 205 &tr += 1; 206 tp += 1; 207 T & tx = tp[1]; 208 209 T t; 210 T t2 = t; 211 } 212 213 forall( T * ) void check_dstype() { 214 T & tr = *0p; 215 T * tp = 0p; 216 217 &tr += 1; 218 tp += 1; 219 T & tx = tp[1]; 220 } 221 222 forall( T & ) void check_dtype() { 223 T & tr = *0p; 224 T * tp = 0p; 225 } 226 201 227 //otype T1 | { void xxx( T1 ); }; 202 228
Note:
See TracChangeset
for help on using the changeset viewer.