1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00

[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 f380a26222
commit 6d3b7f4c22

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