view gcc/testsuite/g++.target/i386/pr89650.C @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents
children
line wrap: on
line source

// { dg-do compile { target c++11 } }
// { dg-options "-O2 -flive-range-shrinkage -fno-tree-dce -fno-dce -fnon-call-exceptions -mavx" }

int d, e;
struct g {
  float f;
  g(float h) : f(h + d) {}
  ~g() {}
};
struct i {
  int a;
  int b : 4;
  int &c;
  i(int h) : a(), b(), c(h) {}
};
int main() {
  i j(e);
  g k[]{1, 2};
}