blob: 8c6b10657e28595804ee9f65d14713a3e72e7f35 [file] [log] [blame]
# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
# RUN: llvm-mc -triple i386-unknown-unknown %s -filetype=null
# RUN: not llvm-mc -triple i386 --defsym ERR=1 %s 2>&1 | FileCheck %s --check-prefix=ERR
.file 1 "hello"
# CHECK: .file 1 "hello"
.loc 1
.loc 1 2
# CHECK: .loc 1 2 0
.loc 1 2 3
# CHECK: .loc 1 2 3
.loc 1 2 discriminator 1
# CHECK: 1 2 0 discriminator 1
.loc 1 2 0 isa 3
# CHECK: 1 2 0 isa 3
.loc 1 0
.ifdef ERR
# ERR: [[#@LINE+1]]:6: error: expected integer
.loc a
.endif