2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/align.s -o %t.o
3 # RUN: ld.lld -o %t --script %s %t.o
4 # RUN: llvm-objdump -t %t | FileCheck %s
10 foo = ALIGN(., 0x100);
12 zed1 = ALIGN(., 0x100) + 1;
13 zed2 = ALIGN(., 0x100) - 1;
20 # CHECK: 0000000000001000 g .aaa 0000000000000000 foo
21 # CHECK: 0000000000001000 g .aaa 0000000000000000 bar
22 # CHECK: 0000000000001001 g .aaa 0000000000000000 zed1
23 # CHECK: 0000000000000fff g .aaa 0000000000000000 zed2