llvm.org GIT mirror llvm / 460d4d4
Make test case resilient to \ or / directory separators git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293786 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 3 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1313
1414 #CHECK: 0x4004f2
1515 #CHECK-NEXT: main
16 #CHECK-NEXT: Filename: /tmp/discrim.c
16 #CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
1717 #CHECK-NEXT: Line: 6
1818 #CHECK-NEXT: Column: 7
1919 #CHECK-NOT: Discriminator: 0
2020
2121 #CHECK: 0x400509
2222 #CHECK-NEXT: main
23 #CHECK-NEXT: Filename: /tmp/discrim.c
23 #CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
2424 #CHECK-NEXT: Line: 7
2525 #CHECK-NEXT: Column: 3
2626 #CHECK-NEXT: Discriminator: 1
2727
2828 #CHECK: 0x40050d
2929 #CHECK-NEXT: main
30 #CHECK-NEXT: Filename: /tmp/discrim.c
30 #CHECK-NEXT: Filename: /tmp{{[\\/]}}discrim.c
3131 #CHECK-NEXT: Line: 7
3232 #CHECK-NEXT: Column: 3
3333 #CHECK-NEXT: Discriminator: 2