George Burgess IV | 278199f | 2016-04-12 01:05:35 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s |
2 | ; | ||||
3 | ; We handle allocsize with identical args in the parser, rather than the | ||||
4 | ; verifier. So, a seperate test is needed. | ||||
5 | |||||
6 | ; CHECK: 'allocsize' indices can't refer to the same parameter | ||||
7 | declare i8* @a(i32, i32) allocsize(0, 0) |