; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep tail

implementation

declare void %bar(int*)

internal void %foo(int* %P) {  ;; to be inlined
  tail call void %bar(int* %P)
  ret void
}

void %caller() {
	%A = alloca int
	call void %foo(int* %A)   ;; not a tail call
	ret void
}

Make sure to not accidentally get a bogus tail marker
Make sure to not accidentally get a bogus tail marker


git-svn-id: 0ff597fd157e6f4fc38580e8d64ab130330d2411@21735 91177308-0d34-0410-b5e6-96231b3b80d8
