llvm-undname: Add coverage for startsWithLocalScopePattern()

llvm-svn: 362515
This commit is contained in:
Nico Weber 2019-06-04 15:47:25 +00:00
parent c1a0e6fe6b
commit dc2a8c7d7f
1 changed files with 35 additions and 0 deletions

View File

@ -274,3 +274,38 @@
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@?A
; CHECK-NEXT: error: Invalid mangled name
?foo@?
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@?
; CHECK-NEXT: error: Invalid mangled name
?foo@??
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@??
; CHECK-NEXT: error: Invalid mangled name
?foo@?XX?
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@?XX?
; CHECK-NEXT: error: Invalid mangled name
?foo@?A@?
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@?A@?
; CHECK-NEXT: error: Invalid mangled name
?foo@?Q@?
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@?Q@?
; CHECK-NEXT: error: Invalid mangled name
?foo@?BQ@?
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@?BQ@?
; CHECK-NEXT: error: Invalid mangled name
?foo@?0?
; CHECK-EMPTY:
; CHECK-NEXT: ?foo@?0?
; CHECK-NEXT: error: Invalid mangled name