diff --git a/THANKS b/THANKS index 26bea0a7..32fc67f1 100644 --- a/THANKS +++ b/THANKS @@ -48,6 +48,7 @@ Enrico Scholz enrico.scholz@informatik.tu-chemnitz.de Eric Blake ebb9@byu.net Evgeny Stambulchik fnevgeny@plasma-gate.weizmann.ac.il Fabrice Bauzac noon@cote-dazur.com +Ferdinand Thiessen ferdinand@fthiessen.de Florian Krohm florian@edamail.fishkill.ibm.com Frank Heckenbach frank@g-n-u.de Frans Englich frans.englich@telia.com diff --git a/tests/synclines.at b/tests/synclines.at index 00c2fc1d..b73ddcb4 100644 --- a/tests/synclines.at +++ b/tests/synclines.at @@ -136,12 +136,14 @@ EOF m4_define([AT_SYNCLINES_COMPILE], [# Check if we can trust location translation. AT_DATA([syncline.c], -[[#error "1" -int i; /* avoids -pedantic warning about an empty translation unit. */ +[[static void foo(void) +{ +#error "3" +} ]]) _AT_SYNCLINES_COMPILE([syncline.c]) -AT_CHECK([[test "`cat stdout`" = 'syncline.c:1: @%:@error "1"' || exit 77]]) +AT_CHECK([[test "`cat stdout`" = 'syncline.c:3: @%:@error "3"' || exit 77]]) # Then work for real. _AT_SYNCLINES_COMPILE([$1])