blob: 556287816fd4891563884dc3f802f7d43b3e6f9e [file] [log] [blame]
// PR c++/106983
// { dg-do compile { target c++20 } }
typedef unsigned long long A;
typedef union
{
struct B s; // { dg-error "incomplete" }
A a;
} U;
void f (A x, unsigned int b)
{
const U y = {.a = x};
}