[llvm-commits] [llvm] r52526 - /llvm/trunk/test/FrontendC/2007-09-28-PackedUnionMember.c
Chris Lattner
sabre at nondot.org
Thu Jun 19 22:28:56 PDT 2008
Author: lattner
Date: Fri Jun 20 00:28:56 2008
New Revision: 52526
URL: http://llvm.org/viewvc/llvm-project?rev=52526&view=rev
Log:
fix a warning.
Modified:
llvm/trunk/test/FrontendC/2007-09-28-PackedUnionMember.c
Modified: llvm/trunk/test/FrontendC/2007-09-28-PackedUnionMember.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2007-09-28-PackedUnionMember.c?rev=52526&r1=52525&r2=52526&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2007-09-28-PackedUnionMember.c (original)
+++ llvm/trunk/test/FrontendC/2007-09-28-PackedUnionMember.c Fri Jun 20 00:28:56 2008
@@ -1,6 +1,4 @@
// RUN: %llvmgcc %s -S -o -
-// XFAIL: *
-// See PR2452
#pragma pack(push, 2)
struct H {
@@ -28,12 +26,12 @@
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);
}
More information about the llvm-commits
mailing list