PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / diagnostic / pr61004.C
blob3bf66bed7a46bd9e32f642ca7a47434fff048044
1 // { dg-do compile }
2 // { dg-options "-O2 -Wall" }
4 struct A{ };
5 struct B:A{};
6 void f(A const&);
7 int main()
9   B b;
10   f(b); // { dg-bogus "strict-aliasing" }