forked from OSchip/llvm-project
[MS Demangler] Add a regression test for an invalid mangled name.
llvm-svn: 349168
This commit is contained in:
parent
629db5d8e5
commit
f47d8be7be
|
@ -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
|
Loading…
Reference in New Issue