mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-11 14:01:48 +00:00
Rewritten to use a single line instead of line splicing
to avoid line number differences in the reported error. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14988
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
/* There should be a user message about the overflow.
|
||||
Wrtten in a single line so there is no confusion on what line
|
||||
Written in a single line so there is no confusion on what line
|
||||
the overflow occurs. */
|
||||
|
||||
int main(int argc, char *argv[]) \
|
||||
{ \
|
||||
volatile int arr[1000]; \
|
||||
return main(arr[argc%2], 0); \
|
||||
}
|
||||
int main(int argc, char *argv[]) { volatile int arr[1000]; return main(arr[argc%2], 0); }
|
||||
|
||||
Reference in New Issue
Block a user