Err, wait. Those new test functions in r207890 need CHECK lines.

llvm-svn: 207891
This commit is contained in:
Nick Lewycky 2014-05-03 01:19:39 +00:00
parent d78f92fbb2
commit 843571130f
1 changed files with 6 additions and 0 deletions

View File

@ -175,7 +175,10 @@ X test6() {
// CHECK-NEXT: ret void // CHECK-NEXT: ret void
} }
// CHECK-LABEL: define void @_Z5test7b
X test7(bool b) { X test7(bool b) {
// CHECK: tail call {{.*}} @_ZN1XC1Ev
// CHECK-NEXT: ret
if (b) { if (b) {
X x; X x;
return x; return x;
@ -183,7 +186,10 @@ X test7(bool b) {
return X(); return X();
} }
// CHECK-LABEL: define void @_Z5test8b
X test8(bool b) { X test8(bool b) {
// CHECK: tail call {{.*}} @_ZN1XC1Ev
// CHECK-NEXT: ret
if (b) { if (b) {
X x; X x;
return x; return x;