diff options
Diffstat (limited to 'src/test/run-make-fulldeps/link-arg')
-rw-r--r-- | src/test/run-make-fulldeps/link-arg/Makefile | 5 | ||||
-rw-r--r-- | src/test/run-make-fulldeps/link-arg/empty.rs | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/test/run-make-fulldeps/link-arg/Makefile b/src/test/run-make-fulldeps/link-arg/Makefile new file mode 100644 index 000000000..0360ede76 --- /dev/null +++ b/src/test/run-make-fulldeps/link-arg/Makefile @@ -0,0 +1,5 @@ +-include ../tools.mk +RUSTC_FLAGS = -C link-arg="-lfoo" -C link-arg="-lbar" --print link-args + +all: + $(RUSTC) $(RUSTC_FLAGS) empty.rs | $(CGREP) lfoo lbar diff --git a/src/test/run-make-fulldeps/link-arg/empty.rs b/src/test/run-make-fulldeps/link-arg/empty.rs new file mode 100644 index 000000000..45590d86b --- /dev/null +++ b/src/test/run-make-fulldeps/link-arg/empty.rs @@ -0,0 +1 @@ +fn main() { } |