aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/incompatible-section-types2.s
blob: 2cf9b8548aa113b37fa1d96584eeb98ff9428f02 (plain) (blame)
1
2
3
4
5
6
7
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
// RUN: not ld.lld %t.o -o %t 2>&1 | FileCheck %s

// CHECK: error: Section has different type from others with the same name <internal>:(.shstrtab)

.section .shstrtab,""
.short 20