* gcc.dg/float-range-3.c: Use "dg-do compile" dejagnu directive
[official-gcc/alias-decl.git] / gcc / testsuite / g++.dg / tree-ssa / pr26406.C
blobc2d160508a67441d07b1e0c94ca176a5d026f0a4
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 int *f(int *b)
6   int * a = new int[104];
7   *a = 1;
8   if (a == 0)
9     return b;
10   return a;
13 /* { dg-final { scan-tree-dump-not "if" "optimized" } } */
14 /* { dg-final { cleanup-tree-dump "optimized" } } */