blob: 8e8822aaa0f278d73945caeda5c172568191a6c6 [file] [log] [blame]
Hemant Kulkarni5b60f632016-08-25 19:41:08 +00001// RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux | llvm-objdump -d - | FileCheck %s
2 .text
3 .globl foo
4 .type foo, @function
5foo:
6 pushq %rbp
7 movq %rsp, %rbp
8 movl $0, %eax
9 popq %rbp
10 ret
11
12 .globl bar
13 .type bar, @object
14bar:
15 .string "test string"
16
17// CHECK: b: 74 65 73 74 20 73 74 72 test str
18// CHECK-NEXT: 13: 69 6e 67 00 ing.
19