Skip to content

Commit b865b4b

Browse files
committed
Fix a warning in the workcache test.
1 parent c14105b commit b865b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/workcache.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ fn test() {
335335
let pth = Path("foo.c");
336336
{
337337
let file = io::file_writer(&pth, [io::Create]).get();
338-
file.write_str("void main() { }");
338+
file.write_str("int main() { return 0; }");
339339
}
340340

341341
prep.declare_input("file", pth.to_str(), digest_file(&pth));

0 commit comments

Comments
 (0)