Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm %s -o - -triple i686-pc-linux-gnu | grep "bitcast (%0\* @r to %union.x\*), \[4 x i8\] undef" |
Eli Friedman | c0879bb | 2009-08-01 23:11:24 +0000 | [diff] [blame] | 2 | |
3 | // Make sure we generate something sane instead of a ptrtoint | ||||
4 | union x {long long b;union x* a;} r = {.a = &r}; |