]> git.saurik.com Git - bison.git/blobdiff - tests/synclines.at
tests: add -pedantic for --enable-gcc-warnings.
[bison.git] / tests / synclines.at
index cc2a7229fee60f73592d33b8223f6e3ef74efd1c..42b2a6671ffd5682a1fc5bca46becfe0521f6494 100644 (file)
@@ -88,6 +88,7 @@ m4_define([AT_TEST_SYNCLINE],
 
 AT_DATA([syncline.c],
 [[#error "1"
+int i; // avoids -pedantic warning about an empty translation unit
 ]])
 
 AT_SYNCLINES_COMPILE([syncline.c])