xref: /aosp_15_r20/external/clang/test/CodeGen/2002-07-30-SubregSetAssertion.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2 
3 
4 union X {
5   void *B;
6 };
7 
foo()8 union X foo() {
9   union X A;
10   A.B = (void*)123;
11   return A;
12 }
13