From 0487ad91193057cfcf109e4efa7bef6b00944e2b Mon Sep 17 00:00:00 2001 From: Richo Healey Date: Sun, 8 Mar 2015 18:54:59 -0700 Subject: [PATCH] Add a test for a bare outfile param to rustc --- src/test/run-make/bare-outfile/Makefile | 4 ++++ src/test/run-make/bare-outfile/foo.rs | 12 ++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/test/run-make/bare-outfile/Makefile create mode 100644 src/test/run-make/bare-outfile/foo.rs diff --git a/src/test/run-make/bare-outfile/Makefile b/src/test/run-make/bare-outfile/Makefile new file mode 100644 index 00000000000..e6cd3851e03 --- /dev/null +++ b/src/test/run-make/bare-outfile/Makefile @@ -0,0 +1,4 @@ +-include ../tools.mk + +all: + rustc -o foo foo.rs diff --git a/src/test/run-make/bare-outfile/foo.rs b/src/test/run-make/bare-outfile/foo.rs new file mode 100644 index 00000000000..63e747901ae --- /dev/null +++ b/src/test/run-make/bare-outfile/foo.rs @@ -0,0 +1,12 @@ +// Copyright 2015 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +fn main() { +}