]> git.ozlabs.org Git - ccan/blobdiff - ccan/compiler/test/run-is_compile_constant.c
Makefile: Make module checks depend on info file
[ccan] / ccan / compiler / test / run-is_compile_constant.c
index 0a15280b61635db92b782aa1eea01f7ed91b2aa3..c914c68300868e79ee3c0b2862487740e76d6a1d 100644 (file)
@@ -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");