aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/MC/ELF/section-sym-err.s
blob: 2f7ab6907aa5d3e0815cbdaca147405048c7b6fa (plain)
1
2
3
4
5
6
7
8
9
# RUN: not llvm-mc -filetype=obj -triple x86_64 %s -o %t 2>&1 | FileCheck %s

.section foo
foo:
# CHECK: [[#@LINE-1]]:1: error: symbol 'foo' is already defined

x1:
.section x1
# CHECK: <unknown>:0: error: invalid symbol redefinition