diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2019-04-18 19:52:32 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2019-04-18 19:52:32 +0000 |
| commit | a0ac65c98f2816f42432448eb3d23d1b7df5c06c (patch) | |
| tree | cda950fec488e59afcca7f1b8e614774e1d32f74 /llvm/test/Demangle | |
| parent | 502cf4bd19f9aaf4c412de147912cd178fe40e20 (diff) | |
| download | bcm5719-llvm-a0ac65c98f2816f42432448eb3d23d1b7df5c06c.tar.gz bcm5719-llvm-a0ac65c98f2816f42432448eb3d23d1b7df5c06c.zip | |
llvm-undname: Fix two more asserts-on-invalid, found by oss-fuzz
llvm-svn: 358708
Diffstat (limited to 'llvm/test/Demangle')
| -rw-r--r-- | llvm/test/Demangle/invalid-manglings.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Demangle/invalid-manglings.test b/llvm/test/Demangle/invalid-manglings.test index c4a75e3de20..ef37518e54a 100644 --- a/llvm/test/Demangle/invalid-manglings.test +++ b/llvm/test/Demangle/invalid-manglings.test @@ -149,3 +149,13 @@ ; CHECK-EMPTY: ; CHECK-NEXT: ??_C@_1A@01234567@a ; CHECK-NEXT: error: Invalid mangled name + +??_C@_0301234567@a +; CHECK-EMPTY: +; CHECK-NEXT: ??_C@_0301234567@a +; CHECK-NEXT: error: Invalid mangled name + +??_C@_1301234567@a +; CHECK-EMPTY: +; CHECK-NEXT: ??_C@_1301234567@a +; CHECK-NEXT: error: Invalid mangled name |

