29 lines · plain
1# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t2# RUN: llvm-readelf -x .text %t | FileCheck %s3# RUN: llvm-mc -filetype=obj -triple=x86_64 --defsym ERR=1 %s -o %t14# RUN: llvm-readelf -x .text %t1 | FileCheck %s --check-prefix=CHECK15 6# CHECK: 0x00000000 90907# CHECK1: 0x00000000 90909090 908 9.subsection 110661:11 nop12662:13.previous14## 661 and 662 are in the same fragment being laied out.15 .org . - (662b-661b) + (662b-661b)16 nop17 18.ifdef ERR19.subsection 120661:21 .p2align 222 nop23662:24.previous25# ERR: :[[#@LINE+1]]:8: error: expected assembly-time absolute expression26 .org . - (662b-661b) + (662b-661b)27 nop28.endif29