# NOT RUN {
ir = c("<!-- %CXCursor = type { i32, i32, [3 x i8*]}", -->
"declare i8* @foo(<!-- %CXCursor.3* byval align 8) #1 ") -->
tryCatch(parseIR(paste(ir, collapse = "\n")),
error = function(e) {
print(e$message)
print(e$lineNum)
print(e$colNum)
print(class(e))
})
# }
Run the code above in your browser using DataLab