view gcc/testsuite/g++.target/i386/pr95229.C @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

// PR target/95229
// { dg-do compile }
// { dg-options "-O3 -march=znver1" }

struct a {
  unsigned long long b;
  unsigned long long c;
};

class my_class {
public:
  a d;
} e;

struct f {
  unsigned g;
  unsigned h;
  void i();
};

void f::i() {
  e.d.b += g;
  e.d.c += h;
}