46 lines · plain
1# RUN: not llvm-mc -triple i386-unknown-unknown %s -I %p | FileCheck %s2# RUN: not llvm-mc -triple i386-unknown-unknown %s -I %p 2>&1 > /dev/null| FileCheck %s --check-prefix=CHECK-ERROR3 4.data5.incbin "incbin\137abcd" # "\137" is underscore "_"6 7# CHECK: .ascii "abcd\n"8 9.data10.incbin "incbin\137abcd", 111 12# CHECK: .ascii "bcd\n"13 14.data15.incbin "incbin\137abcd", 1, 216 17# CHECK: .ascii "bc"18 19.data20.incbin "incbin\137abcd",, 221 22# CHECK: .ascii "ab"23 24.data25.incbin incbin\137abcd26 27# CHECK-ERROR: error: expected string in '.incbin' directive28 29.data30.incbin "incbin\137abcd" 131# CHECK-ERROR: :[[#@LINE-1]]:26: error: expected newline32 33.data34.incbin "incbin\137abcd", 1 235# CHECK-ERROR: :[[#@LINE-1]]:29: error: expected newline36 37.data38.incbin "incbin\137abcd", -139 40# CHECK-ERROR: error: skip is negative41 42.data43.incbin "incbin\137abcd",, -144 45# CHECK-ERROR: warning: negative count has no effect46