bolt/deps/llvm-18.1.8/lld/test/ELF/linkerscript/diag6.test
2025-02-14 19:21:04 +01:00

7 lines
252 B
Text

# 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 /dev/null --script %s 2>&1 | FileCheck %s
SECTIONS /*
CHECK: error: {{.*}}diag6.test:1: unclosed comment in a linker script