blob: 3bf66bed7a46bd9e32f642ca7a47434fff048044 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-O2 -Wall" }
struct A{ };
struct B:A{};
void f(A const&);
int main()
{
B b;
f(b); // { dg-bogus "strict-aliasing" }
}