llvm-project/clang/test/CodeGen/2002-07-30-SubregSetAsserti...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
137 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
union X {
void *B;
};
union X foo() {
union X A;
A.B = (void*)123;
return A;
}