bug2.c

Go to the documentation of this file.
00001 /* bug 2 */
00002 
00003 #ifdef FOO
00004 /* comment at start of line within #ifdef causes following
00005    line numbers to be -1 off (the number of lines within the
00006    same comment does not change the offset amount) */
00007 
00008   /* not at start of line - does not affect line numbers */
00009 #endif
00010 
00011 /* outside #ifdef - does not affect line numbers */
00012   /* does not affect line numbers */
00013 
00014 /* bug: the line number for main() points to this comment line */
00015 int main(void)
00016 {
00017   return 0;
00018 }

Generated on Tue Jan 29 13:35:19 2008 for LineNumberBugs by  doxygen 1.5.4