llvm-project/llvm/test/Demangle/warn-trailing.test
Nick Desaulniers 6641d2b7df [MicrosoftDemangle] fix warn-trailing false positive
A follow up to commit 6bad76c7ae93 ("[Demangle] fix windows tests")
based on @thakis' report.

Fixes: #63740

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D154875
2023-07-11 09:25:52 -07:00

12 lines
287 B
Plaintext

; RUN: llvm-undname -warn-trailing 2>&1 < %s | FileCheck %s
?x@@3HAasdf
; CHECK: ?x@@3HAasdf
; CHECK-NEXT: int x
; CHECK-NEXT: warning: trailing characters: asdf
.?AVNet@@
; CHECK: .?AVNet@@
; CHECK-NEXT: class Net `RTTI Type Descriptor Name'
; CHECK-NOT: warning: trailing characters