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:
parent
f380a26222
commit
6d3b7f4c22
6
test/Demangle/invalid-manglings.test
Normal file
6
test/Demangle/invalid-manglings.test
Normal 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
|
Loading…
Reference in New Issue
Block a user