* gcc.dg/float-range-3.c: Use "dg-do compile" dejagnu directive
[official-gcc/alias-decl.git] / gcc / testsuite / g++.dg / tree-ssa / empty-1.C
blob6a6e452be24c2979fdc013fbdd2444fcfcc2315e
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 struct S {};
5 S bar (const S &a)
7   S s;
8   s = a;
9   return s;
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" } } */