Rafael Espindola | 26b43ca | 2013-10-31 04:20:23 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-dis < %s.bc 2>&1 | FileCheck %s |
2 | |||||
Duncan P. N. Exon Smith | a6b8895 | 2015-02-25 01:10:03 +0000 | [diff] [blame] | 3 | ; CHECK: llvm-dis{{(\.EXE|\.exe)?}}: error: Unknown attribute kind (48) |
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. |