As of today, http://valgrind.org/docs/manual/cg-manual.html includes the
following example:

enum E { A, B, C };
enum E e;
enum E table[] = { 1, 2, 3 };
int i;
...
i += table[e];

I'm pretty sure the third line should be written:

int table[] = { 1, 2, 3 };

--
Andy Goth | <andrew.m.goth/at/gmail/dot/com>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to