]> git.proxmox.com Git - rustc.git/blame - tests/run-make-fulldeps/volatile-intrinsics/Makefile
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / run-make-fulldeps / volatile-intrinsics / Makefile
CommitLineData
f2b60f7d 1include ../tools.mk
1a4d82fc
JJ
2
3all:
4 # The tests must pass...
5 $(RUSTC) main.rs
6 $(call RUN,main)
7 # ... and the loads/stores must not be optimized out.
8 $(RUSTC) main.rs --emit=llvm-ir
ff7c6d11 9 $(CGREP) "load volatile" "store volatile" < $(TMPDIR)/main.ll