re PR c++/71973 (c++ handles built-in functions inconsistently)
[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"} } */