From efc6bf1b94135c0b858896ef966aa7eaca4ff3cf Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 14 Nov 2002 00:35:27 +0000 Subject: [PATCH] (Torturing the Scanner): Don't invoke "cc a.c b.c -o c"; the HP-UX 11i C compiler chatters during compilation. Instead, invoke "cc -c a.c -o a.o; cc -c b.c -o b.o; cc a.o b.o -o c". --- tests/input.at | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/input.at b/tests/input.at index f397811c..69e421a5 100644 --- a/tests/input.at +++ b/tests/input.at @@ -202,7 +202,9 @@ main (void) ]]) AT_CHECK([bison -d -v -o input.c input.y]) -AT_COMPILE([input], [input.c main.c]) +AT_COMPILE([input.o], [-c input.c]) +AT_COMPILE([main.o], [-c main.c]) +AT_COMPILE([input], [input.o main.o]) AT_PARSER_CHECK([./input], 0, [[[@<:@], ]]) -- 2.50.0