gcc/testsuite/g++.dg/vect/pr95290.cc
raw| 1 | // { dg-do compile } |
| 2 | |
| 3 | typedef short a; |
| 4 | enum b {}; |
| 5 | typedef struct { |
| 6 | a c; |
| 7 | } d; |
| 8 | typedef struct { |
| 9 | a e, f; |
| 10 | } g; |
| 11 | typedef struct { |
| 12 | g h; |
| 13 | } i; |
| 14 | typedef struct { |
| 15 | d j; |
| 16 | int k; |
| 17 | } l; |
| 18 | class m |
| 19 | { |
| 20 | i imgdata; |
| 21 | void n(); |
| 22 | l o; |
| 23 | }; |
| 24 | void m::n() try { imgdata.h.e = imgdata.h.f = o.j.c >> o.j.c; } catch (b) { |
| 25 | } |