Rafael Espindola | 26b43ca | 2013-10-31 04:20:23 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s |
2 | |||||
Rafael Espindola | 48da4f4 | 2013-11-04 16:16:24 +0000 | [diff] [blame] | 3 | ; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: Invalid value |
Rafael Espindola | 26b43ca | 2013-10-31 04:20:23 +0000 | [diff] [blame] | 4 | |
5 | ; invalid.ll.bc has an invalid attribute number. | ||||
6 | ; The test checks that LLVM reports the error and doesn't access freed memory | ||||
7 | ; in doing so. |