1// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
2// RUN: not ld.lld %t.o -o %t 2>&1 | FileCheck %s
3
4// CHECK:      error: section type mismatch for .shstrtab
5// CHECK-NEXT: >>> <internal>:(.shstrtab): SHT_STRTAB
6// CHECK-NEXT: >>> output section .shstrtab: Unknown
7
8.section .shstrtab,"",@12345
9.short 20
10