summaryrefslogtreecommitdiffstats
path: root/tests/run-make/issue-20626/Makefile
blob: 63eee910a9c3a33bd335495e0f44b44888def7a0 (plain)
1
2
3
4
5
6
7
8
9
# ignore-cross-compile
include ../tools.mk

# Test output to be four
# The original error only occurred when printing, not when comparing using assert!

all:
	$(RUSTC) foo.rs -O
	[ `$(call RUN,foo)` = "4" ]