mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-25 22:51:33 +08:00
Fix previous commit.
From-SVN: r163442
This commit is contained in:
parent
75bc9e5e0d
commit
000eef232b
@ -1,9 +1,13 @@
|
||||
// PR c++/45307
|
||||
// { dg-options "-fdump-tree-gimple -fdump-tree-optimized" }
|
||||
// { 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" } }
|
||||
|
Loading…
x
Reference in New Issue
Block a user