blob: bda64cd796d03d7e16b942b336aecef0e5b8a364 [file] [log] [blame]
George Burgess IV278199f2016-04-12 01:05:35 +00001; 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
7declare i8* @a(i32, i32) allocsize(0, 0)