mozilla/rust — Issue #1524: Wrong default filename for --lib --emit-llvm -S
Author: brson
Created: 2012-01-14 23:07:33+00:00
State: open
Labels: bug, front

```
x86_64-unknown-linux-gnu/stage1/bin/rustc ../src/test/run-pass/hello.rs --emit-llvm -S --lib
```

Outputs a file named `../src/test/run-pass/hello.` instead of `../src/test/run-pass/hello.ll`. It does contain llasm as expected.