Start on alignment test

Currently fails (deliberately, WIP)
This commit is contained in:
Bill Currie 2020-02-15 02:19:55 +09:00
parent 0542daacdf
commit 293f10211a
2 changed files with 19 additions and 0 deletions

View file

@ -29,6 +29,7 @@ test_bins=\
fail_bins=
test_progs_dat=\
alignment.dat \
chewed-alias.dat \
chewed-return.dat \
comma-expr.dat \
@ -88,6 +89,15 @@ test_harness_DEPENDENCIES= $(QFCC_TEST_DEPS)
r_depfiles_remade=
alignment_dat_SOURCES=alignment.r
alignment_obj=$(alignment_dat_SOURCES:.r=.qfo)
alignment.dat$(EXEEXT): $(alignment_obj) $(QFCC_DEP)
$(QFCC) $(QCFLAGS) -o $@ $(alignment_obj)
alignment.run: Makefile build-run
$(srcdir)/build-run $@
include ./$(DEPDIR)/alignment.Qo # am--include-marker
r_depfiles_remade += ./$(DEPDIR)/alignment.Qo
chewed_alias_dat_SOURCES=chewed-alias.r
chewed_alias_obj=$(chewed_alias_dat_SOURCES:.r=.qfo)
chewed-alias.dat$(EXEEXT): $(chewed_alias_obj) $(QFCC_DEP)

View file

@ -0,0 +1,9 @@
int a;
double b;
int c;
double d;
int main()
{
return 1;
}