c586d32a JH |
1 | /* { dg-do compile } */ |
2 | /* { dg-options "-O1 -fdump-tree-optimized" } */ |
3 | struct a{ |
4 | int a; |
5 | int b; |
6 | } a; |
7 | int * |
8 | t() |
9 | { |
10 | return (int *)&a; |
11 | } |
12 | /* { dg-final { scan-tree-dump "a.a" "optimized"} } */ |
13 | /* { dg-final { cleanup-tree-dump "optimized" } } */ |