projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2de3fec
)
fix a warning.
author
Chris Lattner
<sabre@nondot.org>
Fri, 20 Jun 2008 05:28:56 +0000
(
05:28
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 20 Jun 2008 05:28:56 +0000
(
05:28
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52526
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/FrontendC/2007-09-28-PackedUnionMember.c
patch
|
blob
|
history
diff --git
a/test/FrontendC/2007-09-28-PackedUnionMember.c
b/test/FrontendC/2007-09-28-PackedUnionMember.c
index 4f543de09c722be1651683e1e426007b55dbef17..79f48ceaeeae0daeae4ea7911a68830d336163a7 100644
(file)
--- a/
test/FrontendC/2007-09-28-PackedUnionMember.c
+++ b/
test/FrontendC/2007-09-28-PackedUnionMember.c
@@
-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);
}