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