summaryrefslogtreecommitdiff
path: root/test/cfi/base-derived-destructor.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-11-09 14:25:08 +0000
committerHans Wennborg <hans@hanshq.net>2015-11-09 14:25:08 +0000
commit623cb1d391f15595c8c2e9814d140db8bad9bddb (patch)
tree771b70451233f17162016140db57456ecd60a3c3 /test/cfi/base-derived-destructor.cpp
parentd5b79afcbb3adaa17718c071e52c46bb4c6a0379 (diff)
CFI: try to make test/cfi/base-derived-destructor.cpp pass on Windows
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@252468 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/cfi/base-derived-destructor.cpp')
-rw-r--r--test/cfi/base-derived-destructor.cpp2
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