[InstCombine] Signed saturation tests. NFC
[llvm-complete.git] / test / MC / ELF / file-double.s
blob206712f6a15c82cc619f1fa8f8b2d1a51a015018
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj --symbols | FileCheck %s
3 // Test that a STT_FILE symbol and a symbol of the same name can coexist.
5 .file "foo.c"
6 .file "bar.c"
7 .globl foo.c
8 foo.c:
10 .globl bar.c
11 bar.c:
13 // CHECK: Symbol {
14 // CHECK: Name: foo.c
15 // CHECK-NEXT: Value: 0x0
16 // CHECK-NEXT: Size: 0
17 // CHECK-NEXT: Binding: Local
18 // CHECK-NEXT: Type: File
19 // CHECK-NEXT: Other: 0
20 // CHECK-NEXT: Section: Absolute (0xFFF1)
21 // CHECK-NEXT: }
22 // CHECK: Name: bar.c
23 // CHECK-NEXT: Value: 0x0
24 // CHECK-NEXT: Size: 0
25 // CHECK-NEXT: Binding: Local
26 // CHECK-NEXT: Type: File
27 // CHECK-NEXT: Other: 0
28 // CHECK-NEXT: Section: Absolute (0xFFF1)
29 // CHECK-NEXT: }
30 // CHECK: Symbol {
31 // CHECK: Name: bar.c
32 // CHECK-NEXT: Value: 0x0
33 // CHECK-NEXT: Size: 0
34 // CHECK-NEXT: Binding: Global
35 // CHECK-NEXT: Type: None
36 // CHECK-NEXT: Other: 0
37 // CHECK-NEXT: Section: .text
38 // CHECK-NEXT: }
39 // CHECK: Symbol {
40 // CHECK: Name: foo.c
41 // CHECK-NEXT: Value: 0x0
42 // CHECK-NEXT: Size: 0
43 // CHECK-NEXT: Binding: Global
44 // CHECK-NEXT: Type: None
45 // CHECK-NEXT: Other: 0
46 // CHECK-NEXT: Section: .text
47 // CHECK-NEXT: }