================ @@ -12,6 +12,17 @@ IncompleteS *p; // LLVM: @p = dso_local global ptr null // OGCG: @p = global ptr null, align 8 +struct CompleteS { ---------------- andykaylor wrote: Yes, I think unions should work. I'll add a test for that. https://github.com/llvm/llvm-project/pull/138368