xref: /llvm-project/lld/test/ELF/start-group.s (revision a892c0e49e8de6daf141af23b396cf21b4471299)
1# REQUIRES: x86
2
3# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t.o
4
5# RUN: not ld.lld --start-group --start-group %t.o 2>&1 | FileCheck %s --check-prefix=NESTED
6# NESTED: nested --start-group
7
8# RUN: not ld.lld --end-group 2>&1 | FileCheck %s --check-prefix=END
9# RUN: not ld.lld '-)' 2>&1 | FileCheck %s --check-prefix=END
10# END: stray --end-group
11
12.globl _start
13_start:
14