Rename CODE_OWNERS -> Maintainers (#114544)
[llvm-project.git] / lld / test / COFF / section-size.s
blobd971b6efa5e8b68df609160b3fdaccdd3cd15119
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-windows-msvc %s -o %tmain.obj
3 # RUN: echo '.lcomm s, 0x80000000' | llvm-mc -filetype=obj -triple=x86_64-windows-msvc -o %t1.obj
4 # RUN: cp %t1.obj %t2.obj
5 # RUN: echo '.lcomm s, 0xffffffff' | llvm-mc -filetype=obj -triple=x86_64-windows-msvc -o %t3.obj
7 # Run: lld-link -entry:main %tmain.obj %t3.obj -out:%t.exe
9 # RUN: not lld-link -entry:main %tmain.obj %t1.obj %t2.obj -out:%t.exe 2>&1 | FileCheck %s
10 # CHECK: error: section larger than 4 GiB: .data
12 .globl main
13 main:
14 retq