]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gcc.dg/cpp/warn-undef.c
expr.c (eval_token): Append "evaluates to 0" to Wundef diagnostic.
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / cpp / warn-undef.c
index dd4524d8136e4e297c14c6c177f7835663edff1e..2c2c4219e2eba80837c95564540751ba94c7f8b5 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-do preprocess }
 // { dg-options "-std=gnu99 -fdiagnostics-show-option -Wundef" }
 
-#if x  // { dg-warning "\"x\" is not defined .-Wundef." }
+#if x  // { dg-warning "\"x\" is not defined, evaluates to 0 .-Wundef." }
 #endif