summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/torture/pr35400.C
blob: 021135df81372ab17a7ab7c01444be131c3d8333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-options "-Wtype-limits" } */

struct A
{
  A();
  ~A();
};

void foo()
{
  A x[1];
}