blob: 1c27da37f0fed244001b483682d2d39078d09433 [file] [log] [blame]
// PR c++/45307
// { dg-options "-fdump-tree-gimple -fdump-tree-optimized -O" }
struct fallible_t { };
const fallible_t fallible = fallible_t();
void t(void)
{
}
// { dg-final { scan-tree-dump-not "fallible" "gimple" } }
// Whole constructor should be optimized away.
// { dg-final { scan-tree-dump-not "int" "optimized" } }