diag6.test 225 Bytes
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o
# RUN: not ld.lld -shared %t.o -o %t --script %s 2>&1 | FileCheck %s

SECTIONS /*

CHECK: error: unclosed comment in a linker script