aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-23 00:26:29 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-23 00:26:29 +0000
commit9f16f13639860cf90030bde70b7b29227552fffd (patch)
treed3d9e67a5064fcbc1579eb07a72334500507ffd2
parent4db64a461cb3442934afe43c83ed3f17f7c11c1d (diff)
Fix a FIXME, this test folds to a constant now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94263 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGenCXX/temp-order.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/CodeGenCXX/temp-order.cpp b/test/CodeGenCXX/temp-order.cpp
index e1ef7eb260..05a9aed2de 100644
--- a/test/CodeGenCXX/temp-order.cpp
+++ b/test/CodeGenCXX/temp-order.cpp
@@ -167,13 +167,10 @@ void test() {
if (f5() != ORDER4(5, 3, 7, 2))
error();
-// FIXME: Clang/LLVM currently can't fold this to a constant. If the error check
-// is present (since it avoids single-caller inlining). PR5645.
-
-// CHECK: call void @print(i8* {{.*}}, i32 1251552576)
+// CHECK: call void @print(i8* {{.*}}, i32 1251552576)
print("f6", f6());
-// if (f6() != ORDER6(3, 7, 11, 5, 13, 2))
-// error();
+ if (f6() != ORDER6(3, 7, 11, 5, 13, 2))
+ error();
}