projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use InstrSlots::NUM rather than pre-dividing by four. Also, mark this const.
[oota-llvm.git]
/
test
/
FrontendC
/
2007-09-05-ConstCtor.c
diff --git
a/test/FrontendC/2007-09-05-ConstCtor.c
b/test/FrontendC/2007-09-05-ConstCtor.c
index 6d9fbd5c14b873a173ac38b90aa17350634b88d4..8e0e9945ffaa97fdeec2b094c0e083b5eb8022fa 100644
(file)
--- a/
test/FrontendC/2007-09-05-ConstCtor.c
+++ b/
test/FrontendC/2007-09-05-ConstCtor.c
@@
-1,7
+1,5
@@
// RUN: %llvmgcc -xc -Os -c %s -o /dev/null
// PR1641
// RUN: %llvmgcc -xc -Os -c %s -o /dev/null
// PR1641
-// XFAIL: *
-// See PR2452
struct A {
unsigned long l;
struct A {
unsigned long l;
@@
-10,7
+8,7
@@
struct A {
void bar(struct A *a);
void bork() {
void bar(struct A *a);
void bork() {
- const unsigned long vcgt =
'vcgt'
;
+ const unsigned long vcgt =
1234
;
struct A a = { vcgt };
bar(&a);
}
struct A a = { vcgt };
bar(&a);
}