diff options
-rw-r--r-- | test/cfi/base-derived-destructor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cfi/base-derived-destructor.cpp b/test/cfi/base-derived-destructor.cpp index 9655891ef..c5e9db109 100644 --- a/test/cfi/base-derived-destructor.cpp +++ b/test/cfi/base-derived-destructor.cpp @@ -82,7 +82,7 @@ int main() { fprintf(stderr, "1\n"); // CFI-DIAG: runtime error: control flow integrity check for type 'B' failed during base-to-derived cast - // CFI-DIAG-NEXT: note: vtable is of type 'A<B>' + // CFI-DIAG-NEXT: note: vtable is of type '{{(class )?}}A<{{(class )?}}B>' B* b = new B; break_optimization(b); delete b; // UB here |