Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / 2002-07-30-SubregSetAssertion.c
blobb66442d1faf3082161ee75d028bac7de3b8af684
1 // RUN: %clang_cc1 -emit-llvm %s -o /dev/null
4 union X {
5 void *B;
6 };
8 union X foo(void) {
9 union X A;
10 A.B = (void*)123;
11 return A;