aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/array34.C
blob: 1240ece9ae789dabd273c59944b5e382f780d95c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/53650
// We should loop over array inits if they don't involve temporaries
// that need extending.
// { dg-options "-fdump-tree-gimple" }
// { dg-final { scan-tree-dump-times "Class::Class" 1 "gimple" } }

struct Class {
  Class();
};

int main() {
  Class table [10] = {};
  return 0;
}