[MS Demangler] Add a regression test for an invalid mangled name.

llvm-svn: 349168
This commit is contained in:
Zachary Turner 2018-12-14 17:59:27 +00:00
parent 629db5d8e5
commit f47d8be7be
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
; Run llvm-undname with invalid inputs and make sure it doesn't crash.
; RUN: llvm-undname < %s 2>&1 | FileCheck %s
?ff@@$$J0YAXAU?$AS_@$0A@PEAU?$AS_@$0A@H@__clang@@@__clang@@@Z
; CHECK: ?ff@@$$J0YAXAU?$AS_@$0A@PEAU?$AS_@$0A@H@__clang@@@__clang@@@Z
; CHECK-NEXT: error: Invalid mangled name