From: Joel Rosdahl Date: Mon, 23 Aug 2010 17:12:27 +0000 (+0200) Subject: test: Fix bad test for compiler pch support X-Git-Tag: v3.1~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=928ad0e8f63d715eeca9737842409561fc064516;p=thirdparty%2Fccache.git test: Fix bad test for compiler pch support --- diff --git a/test.sh b/test.sh index a860da7cf..a16874bd1 100755 --- a/test.sh +++ b/test.sh @@ -1599,7 +1599,11 @@ pch_suite() { cat <pch.c #include "pch.h" -void *p = NULL; +int main() +{ + void *p = NULL; + return 0; +} EOF cat <pch.h #include