Skip to content

Commit 6862c88

Browse files
committed
add test case
1 parent 9a9a538 commit 6862c88

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// RUN: %clangxx_cfi %s -o %t
2+
// RUN: %t
3+
4+
#include <memory>
5+
6+
struct Foo {
7+
Foo() {}
8+
virtual ~Foo() {}
9+
};
10+
11+
int main(int argc, char **argv) { std::make_shared<Foo>(); }

0 commit comments

Comments
 (0)