diff --git a/tools/qfcc/test/Makefile.am b/tools/qfcc/test/Makefile.am index 531c621a1..cdc9d8c01 100644 --- a/tools/qfcc/test/Makefile.am +++ b/tools/qfcc/test/Makefile.am @@ -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) diff --git a/tools/qfcc/test/alignment.r b/tools/qfcc/test/alignment.r new file mode 100644 index 000000000..819f45d30 --- /dev/null +++ b/tools/qfcc/test/alignment.r @@ -0,0 +1,9 @@ +int a; +double b; +int c; +double d; + +int main() +{ + return 1; +}