fix a warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52526 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2008-06-20 05:28:56 +00:00
parent 2de3fec61c
commit 6624602197

View File

@ -1,6 +1,4 @@
// RUN: %llvmgcc %s -S -o -
// XFAIL: *
// See PR2452
#pragma pack(push, 2)
struct H {
@ -28,12 +26,12 @@ extern long bork(FuncPtr handler, const struct E *list);
static long hndlr()
{
struct H cmd = { 4, 'fart' };
struct H cmd = { 4, 412 };
return 0;
}
void foo(void *inWindow) {
static const struct E events[] = {
{ 'cmds', 1 }
{ 123124, 1 }
};
bork(hndlr, events);
}