22 lines · plain
1# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s2# RUN: llvm-mc -triple i386-unknown-unknown %s -filetype=null3# RUN: not llvm-mc -triple i386 --defsym ERR=1 %s 2>&1 | FileCheck %s --check-prefix=ERR4 5 .file 1 "hello"6# CHECK: .file 1 "hello"7 .loc 18 .loc 1 29# CHECK: .loc 1 2 010 .loc 1 2 311# CHECK: .loc 1 2 312 .loc 1 2 discriminator 113# CHECK: 1 2 0 discriminator 114 .loc 1 2 0 isa 315# CHECK: 1 2 0 isa 316 .loc 1 017 18.ifdef ERR19# ERR: [[#@LINE+1]]:6: error: expected integer20.loc a21.endif22