1 // RUN: not llvm-mc -triple x86_64-unknown-unknown %s > %t 2> %t.err
2 // RUN: FileCheck < %t %s
3 // RUN: FileCheck -check-prefix=CHECK-STDERR < %t.err %s
7 // CHECK-STDERR: invalid modifier 'GOTPCREL' (no symbols present)
9 // CHECK: .long a@GOTPCREL+4
11 // CHECK: .long a@GOTPCREL+b@GOTPCREL
12 .long (a + b)@GOTPCREL
13 // CHECK: .long (10+b@GOTPCREL)+4
14 .long 10 + b + 4@GOTPCREL