blob: 3f2a576890770fe450050234ad9154698262993f [file] [log] [blame]
// PR sanitizer/81209
// { dg-do compile }
// { dg-options "-fsanitize=undefined -fno-declone-ctor-dtor" }
#ifdef __SIZEOF_INT128__
typedef __int128 T;
#else
typedef long long int T;
#endif
struct B {};
struct A : virtual public B
{
A (long);
T a;
};
A::A (long c)
{
long b = a % c;
}