aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr103024.C
blob: 15e68d40213283e39d22c908a2edbfb99045e41e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-fnon-call-exceptions -fharden-compares -fsignaling-nans" } */

struct G4ErrorMatrix {
  G4ErrorMatrix(int);
  ~G4ErrorMatrix();
};
double PropagateError_charge;
void PropagateError() {
  G4ErrorMatrix transf(0);
  int field(PropagateError_charge && field);
}