summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/pr42556.C
blob: 27370af79f61aba984a05b36a1ad7ba23bf7a984 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do compile }
// { dg-options "-fdump-tree-gimple" }

void foo (int a, int b, int c, int d)
{
  int v[4] = {a, b, c, d};
}

// { dg-final { scan-tree-dump-not "v = {}"  "gimple" } }
// { dg-final { cleanup-tree-dump "gimple" } }