Skip to content

Commit c3af11b

Browse files
committed
[CIR][CodeGen] Added check on extra function to match OG test
1 parent 930bc84 commit c3af11b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/test/CIR/CodeGen/vtable-available-externally.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ void f(A* a) {
1717
a->f();
1818
};
1919

20+
// CHECK-LABEL: cir.func{{.*}} @_Z1gv
21+
// CHECK: cir.call @_Z1fP1A
2022
void g() {
2123
A a;
2224
f(&a);

0 commit comments

Comments
 (0)