1 # RUN: not llvm-mc -triple x86_64 %s -o /dev/null 2>&1 | FileCheck %s
3 # CHECK: {{.*}}.s:[[# @LINE+1]]:30: error: expected linked-to symbol
4 .section .link,"ao",@progbits
6 # CHECK: {{.*}}.s:[[# @LINE+1]]:31: error: invalid linked-to symbol
7 .section .link,"ao",@progbits,123
9 # CHECK: {{.*}}.s:[[# @LINE+1]]:31: error: linked-to symbol is not in a section: foo
10 .section .link,"ao",@progbits,foo
12 # CHECK: {{.*}}.s:[[# @LINE+2]]:31: error: linked-to symbol is not in a section: bar
14 .section .link,"ao",@progbits,bar
16 # CHECK: {{.*}}.s:[[# @LINE+2]]:31: error: linked-to symbol is not in a section: baz
18 .section .link,"ao",@progbits,baz