We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f7b523 commit e68cb56Copy full SHA for e68cb56
clang/test/Interpreter/inline-virtual.cpp
@@ -14,7 +14,7 @@ struct A { int a; A(int a) : a(a) {} virtual ~A(); };
14
// PartialTranslationUnit.
15
inline A::~A() { printf("~A(%d)\n", a); }
16
17
-// Create one instance with new and delete it.
+// Create one instance with new and delete it. We crash here now:
18
A *a1 = new A(1);
19
delete a1;
20
// CHECK: ~A(1)
0 commit comments