blob: e782425cf2b11e7c34a168c167cc3ff324d33bb1 [file] [log] [blame]
Nuno Lopesc6eb1312009-10-29 11:27:06 +00001// RUN: clang-cc -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep "bitcast (%0\* @r to %union.x\*), \[4 x i8\] undef"
Eli Friedmanc0879bb2009-08-01 23:11:24 +00002
3// Make sure we generate something sane instead of a ptrtoint
4union x {long long b;union x* a;} r = {.a = &r};