summaryrefslogtreecommitdiff
path: root/test/FrontendC/2007-09-05-ConstCtor.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-06-20 05:31:04 +0000
committerChris Lattner <sabre@nondot.org>2008-06-20 05:31:04 +0000
commit3e64ff6832239f3293fe9016c341f0e8bd885820 (patch)
tree9950f5d5bacaedb78046c459497a86987e1449e9 /test/FrontendC/2007-09-05-ConstCtor.c
parentec91ccba3ca92d5e1f19fb0cb6e57a7d4a3f3195 (diff)
downloadllvm-3e64ff6832239f3293fe9016c341f0e8bd885820.tar.gz
llvm-3e64ff6832239f3293fe9016c341f0e8bd885820.tar.bz2
llvm-3e64ff6832239f3293fe9016c341f0e8bd885820.tar.xz
Fix a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC/2007-09-05-ConstCtor.c')
-rw-r--r--test/FrontendC/2007-09-05-ConstCtor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/FrontendC/2007-09-05-ConstCtor.c b/test/FrontendC/2007-09-05-ConstCtor.c
index 6d9fbd5c14..8e0e9945ff 100644
--- 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
-// 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);
}