Skip to content

Commit b42376e

Browse files
weliveindetailvgvassilev
authored andcommitted
[tmp] Add crash note
1 parent 2fc4014 commit b42376e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Interpreter/inline-virtual.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct A { int a; A(int a) : a(a) {} virtual ~A(); };
1414
// PartialTranslationUnit.
1515
inline A::~A() { printf("~A(%d)\n", a); }
1616

17-
// Create one instance with new and delete it.
17+
// Create one instance with new and delete it. We crash here now:
1818
A *a1 = new A(1);
1919
delete a1;
2020
// CHECK: ~A(1)

0 commit comments

Comments
 (0)