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