diff options
| author | Keegan McAllister <kmcallister@mozilla.com> | 2014-09-05 17:57:50 -0700 |
|---|---|---|
| committer | Keegan McAllister <kmcallister@mozilla.com> | 2014-10-09 15:01:00 -0700 |
| commit | 441796831f9d57dbb336805b7ddee5097c407d58 (patch) | |
| tree | 5de39d4475d786cc81d3b64fd707b712d116dcfa /src/test/run-make/no-stack-check/Makefile | |
| parent | d7fff9f15bfe08c765e74557eb120d25c90a3a3b (diff) | |
| download | rust-441796831f9d57dbb336805b7ddee5097c407d58.tar.gz rust-441796831f9d57dbb336805b7ddee5097c407d58.zip | |
Add tests for no-stack-check attr and codegen option
Diffstat (limited to 'src/test/run-make/no-stack-check/Makefile')
| -rw-r--r-- | src/test/run-make/no-stack-check/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/test/run-make/no-stack-check/Makefile b/src/test/run-make/no-stack-check/Makefile new file mode 100644 index 00000000000..63f057d35c4 --- /dev/null +++ b/src/test/run-make/no-stack-check/Makefile @@ -0,0 +1,9 @@ +-include ../tools.mk + +all: + $(RUSTC) -O --emit asm attr.rs + ! grep -q morestack $(TMPDIR)/attr.s + $(RUSTC) -O --emit asm flag.rs + grep -q morestack $(TMPDIR)/flag.s + $(RUSTC) -O --emit asm -C no-stack-check flag.rs + ! grep -q morestack $(TMPDIR)/flag.s |
