Remove this va_arg test, which is no longer applicable.
[oota-llvm.git] / test / Other / lint.ll
index 1187eb7b29f53da7c7b2ad3c08b12eea65dcf3a0..4cf9fd7fce63eee9c4824c9e98c78d9238bf0a58 100644 (file)
@@ -87,14 +87,11 @@ block:
   unreachable
 }
 
-; CHECK: Undefined behavior: Call with "tail" keyword references alloca
 ; CHECK: Undefined behavior: Call with "tail" keyword references alloca
 declare void @tailcallee(i8*)
 define void @use_tail(i8* %valist) {
   %t = alloca i8
   tail call void @tailcallee(i8* %t)
-  %s = va_arg i8* %valist, i8*
-  tail call void @tailcallee(i8* %s)
   ret void
 }