1 // RUN: %llvmgcc %s -S -m32 -o - | FileCheck %s
2 // Formerly this generated code that did a load past the end of the structure.
3 // That was fixed by 46726, but that patch had bad side effects and was
4 // reverted. This has been fixed another way in the meantime.
20 // CHECK: getelementptr inbounds %struct.T* %t, i32 0, i32 0
21 // CHECK: getelementptr inbounds %struct.T* %t, i32 0, i32 0
25 if(f(t
)!=0x11)abort();