invalid.ll 265 B

1234567
  1. ; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s
  2. ; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (48)
  3. ; invalid.ll.bc has an invalid attribute number.
  4. ; The test checks that LLVM reports the error and doesn't access freed memory
  5. ; in doing so.