summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/temp-order.cpp
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2010-01-23 11:10:26 +0000
committerrdivacky <rdivacky@FreeBSD.org>2010-01-23 11:10:26 +0000
commit2fce988e86bc01829142e4362d4eff1af0925147 (patch)
treec69d3f4f13d508570bb5257a6aea735f88bdf09c /test/CodeGenCXX/temp-order.cpp
parenta3fa5c7f1b5e2ba4d6ec033dc0e2376326b05824 (diff)
downloadFreeBSD-src-2fce988e86bc01829142e4362d4eff1af0925147.zip
FreeBSD-src-2fce988e86bc01829142e4362d4eff1af0925147.tar.gz
Update clang to r94309.
Diffstat (limited to 'test/CodeGenCXX/temp-order.cpp')
-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 e1ef7eb..05a9aed 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();
}
OpenPOWER on IntegriCloud