1 # RUN: not llvm-mc %s -triple mips64-unknown-unknown 2>%t1 2 # RUN: FileCheck %s < %t1 -check-prefix=ASM 3 4 .text 5 .option pic2 6 t1: 7 .cpsetup $bar, 8, __cerror 8 # ASM: :[[@LINE-1]]:18: error: expected register containing function address 9 .cpsetup $33, 8, __cerror 10 # ASM: :[[@LINE-1]]:18: error: invalid register 11 .cpsetup $31, foo, __cerror 12 # ASM: :[[@LINE-1]]:23: error: expected save register or stack offset 13 .cpsetup $31, $32, __cerror 14 # ASM: :[[@LINE-1]]:23: error: invalid register 15 .cpsetup $25, $2, $3 16 # ASM: :[[@LINE-1]]:28: error: expected expression 17 .cpsetup $25, $2, 4 18 # ASM: :[[@LINE-1]]:28: error: expected symbol 19 .cpsetup $25, $2, 4+65 20 # ASM: :[[@LINE-1]]:31: error: expected symbol 21 .cpsetup $25, $2, foo+4 22 # ASM: :[[@LINE-1]]:32: error: expected symbol 23