1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -filetype=obj -triple=i386-unknown-elf -defsym a=7 -defsym b=11 %s | llvm-objdump -t - | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Worker.ifndef a 4*9880d681SAndroid Build Coastguard Worker.err 5*9880d681SAndroid Build Coastguard Worker.endif 6*9880d681SAndroid Build Coastguard Worker 7*9880d681SAndroid Build Coastguard Worker.if a<>7 8*9880d681SAndroid Build Coastguard Worker.err 9*9880d681SAndroid Build Coastguard Worker.endif 10*9880d681SAndroid Build Coastguard Worker 11*9880d681SAndroid Build Coastguard Worker.ifndef b 12*9880d681SAndroid Build Coastguard Worker.err 13*9880d681SAndroid Build Coastguard Worker.endif 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker.if b<>11 16*9880d681SAndroid Build Coastguard Worker.err 17*9880d681SAndroid Build Coastguard Worker.endif 18*9880d681SAndroid Build Coastguard Worker 19*9880d681SAndroid Build Coastguard Worker# CHECK: 00000007 *ABS* 00000000 a 20*9880d681SAndroid Build Coastguard Worker# CHECK: 0000000b *ABS* 00000000 b