Use InstrSlots::NUM rather than pre-dividing by four. Also, mark this const.
[oota-llvm.git] / test / FrontendC / 2007-09-05-ConstCtor.c
index 6d9fbd5c14b873a173ac38b90aa17350634b88d4..8e0e9945ffaa97fdeec2b094c0e083b5eb8022fa 100644 (file)
@@ -1,7 +1,5 @@
 // RUN: %llvmgcc -xc -Os -c %s -o /dev/null
 // PR1641
-// XFAIL: *
-// See PR2452
 
 struct A {
   unsigned long l;
@@ -10,7 +8,7 @@ struct A {
 void bar(struct A *a);
 
 void bork() {
-  const unsigned long vcgt = 'vcgt';
+  const unsigned long vcgt = 1234;
   struct A a = { vcgt };
   bar(&a);
 }