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 4 5 // CHECK: .long 1 6 .long 1 7 // CHECK-STDERR: invalid modifier 'GOTPCREL' (no symbols present) 8 .long 10 + 4@GOTPCREL 9 // CHECK: .long a@GOTPCREL+4 10 .long a + 4@GOTPCREL 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 15