X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcompiler%2Ftest%2Frun-is_compile_constant.c;h=c914c68300868e79ee3c0b2862487740e76d6a1d;hb=25b7406d11ea3703be864097af66ce95611dde72;hp=0a15280b61635db92b782aa1eea01f7ed91b2aa3;hpb=89f1301ed2b65cdb4730bb28c42428873a69faec;p=ccan diff --git a/ccan/compiler/test/run-is_compile_constant.c b/ccan/compiler/test/run-is_compile_constant.c index 0a15280b..c914c683 100644 --- a/ccan/compiler/test/run-is_compile_constant.c +++ b/ccan/compiler/test/run-is_compile_constant.c @@ -3,10 +3,12 @@ int main(int argc, char *argv[]) { + (void)argc; + (void)argv; plan_tests(2); ok1(!IS_COMPILE_CONSTANT(argc)); -#ifdef HAVE_BUILTIN_CONSTANT_P +#if HAVE_BUILTIN_CONSTANT_P ok1(IS_COMPILE_CONSTANT(7)); #else pass("If !HAVE_BUILTIN_CONSTANT_P, IS_COMPILE_CONSTANT always false");