[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / empty-2.C
blob1c27da37f0fed244001b483682d2d39078d09433
1 // PR c++/45307
2 // { dg-options "-fdump-tree-gimple -fdump-tree-optimized -O" }
4 struct fallible_t { };
5 const fallible_t fallible = fallible_t();
7 void t(void)
11 // { dg-final { scan-tree-dump-not "fallible" "gimple" } }
12 // Whole constructor should be optimized away.
13 // { dg-final { scan-tree-dump-not "int" "optimized" } }