summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/tree-ssa/block1.C
blob: 5573251cb1f4adb32181829ff803cd401bb3bd7d (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR 13764: We were inserting an extra body block in all functions, but
// it's only really necessary for [cd]tors.
// { dg-options "-fdump-tree-gimple" }

void bar (void)
{
  int a;
}

// { dg-final { scan-tree-dump-times "\{" 1 "gimple" } }
// { dg-final { cleanup-tree-dump "gimple" } }