Fixed version of 121434 with no new memory leaks.
[oota-llvm.git] / test / MC / ELF / size.s
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump  | FileCheck %s
2
3 // Mostly a test that this doesn't crash anymore.
4
5 // CHECK:        # Symbol 0x00000004
6 // CHECK-NEXT:    (('st_name', 0x00000001) # 'foo'
7 // CHECK-NEXT:     ('st_bind', 0x00000001)
8
9         .size foo, .Lbar-foo
10         .long foo