[llvm-commits] [llvm] r111440 - /llvm/trunk/test/Other/close-stderr.ll
Chris Lattner
clattner at apple.com
Fri Aug 20 14:21:21 PDT 2010
On Aug 19, 2010, at 6:37 PM, Daniel Dunbar wrote:
> On Thu, Aug 19, 2010 at 6:25 PM, Dan Gohman <gohman at apple.com> wrote:
>> What kind of unit test would you suggest? This kind of test
>> doesn't seem to fit easily into the main harnesses.
>
> I may not understand what the problem was, but I thought something like:
> ---
> void f0() {
> close(2);
> llvm::errs() << "ok";
> }
> --
> would be enough to reproduce the problem?
No, and I don't see why a unit test is better than the existing test Dan has.
-Chris
More information about the llvm-commits
mailing list