1 # RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t
2 # RUN: llvm-readelf -x .text %t | FileCheck %s
3 # RUN: not llvm-mc -filetype=obj -triple=x86_64 --defsym ERR=1 %s -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR
5 # CHECK: 0x00000000 9090
12 ## 661 and 662 are in the same fragment being laied out.
13 .org . - (662b-661b) + (662b-661b)
23 # ERR: :[[#@LINE+1]]:8: error: expected assembly-time absolute expression
24 .org . - (662b-661b) + (662b-661b)