view gcc/testsuite/g++.dg/torture/pr47290.C @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
line wrap: on
line source

// PR tree-optimization/47290
// { dg-do compile }

struct V
{
  V (int = 0);
  ~V ()
  {
    for (;;)
      ;
  }
  int size ();
};

struct S
{
  V a, b;
  S () : b (a.size ()) {}
} s;