mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
fix a warning.
llvm-svn: 52526
This commit is contained in:
parent
e588f546c5
commit
0daba8a204
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user