forked from OSchip/llvm-project
Err, wait. Those new test functions in r207890 need CHECK lines.
llvm-svn: 207891
This commit is contained in:
parent
d78f92fbb2
commit
843571130f
clang/test/CodeGenCXX
|
@ -175,7 +175,10 @@ X test6() {
|
|||
// CHECK-NEXT: ret void
|
||||
}
|
||||
|
||||
// CHECK-LABEL: define void @_Z5test7b
|
||||
X test7(bool b) {
|
||||
// CHECK: tail call {{.*}} @_ZN1XC1Ev
|
||||
// CHECK-NEXT: ret
|
||||
if (b) {
|
||||
X x;
|
||||
return x;
|
||||
|
@ -183,7 +186,10 @@ X test7(bool b) {
|
|||
return X();
|
||||
}
|
||||
|
||||
// CHECK-LABEL: define void @_Z5test8b
|
||||
X test8(bool b) {
|
||||
// CHECK: tail call {{.*}} @_ZN1XC1Ev
|
||||
// CHECK-NEXT: ret
|
||||
if (b) {
|
||||
X x;
|
||||
return x;
|
||||
|
|
Loading…
Reference in New Issue