re PR tree-optimization/33593 (tree-outof-ssa moves sources of non-call exceptions...
[gcc.git] / gcc / testsuite / g++.dg / tree-ssa / empty-1.C
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
3
4 struct S {};
5 S bar (const S &a)
6 {
7 S s;
8 s = a;
9 return s;
10 }
11
12 /* Test whether memcpy call has been optimized out. */
13 /* { dg-final { scan-tree-dump-times "memcpy" 0 "optimized"} } */
14 /* { dg-final { cleanup-tree-dump "optimized" } } */