1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o
3# RUN: not ld.lld -shared %t.o -o /dev/null --script %s 2>&1 | FileCheck %s
4
5SECTIONS /*
6
7CHECK: error: {{.*}}diag6.test:1: unclosed comment in a linker script
8