Commit eb802827 by Richard Henderson Committed by Richard Henderson

* gcc.c-torture/execute/20000412-1.c: New test.

From-SVN: r33093
parent bcdb1106
2000-04-10 Richard Henderson <rth@cygnus.com>
* gcc.c-torture/execute/20000412-1.c: New test.
2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.eh/catchptr1.C: New test.
......
enum { TOTAL_KEYWORDS = 207 };
short int i = -1;
const char * const wordlist[TOTAL_KEYWORDS];
const char * const *
foo(void)
{
register const char * const *wordptr = &wordlist[TOTAL_KEYWORDS + i];
return wordptr;
}
int
main()
{
if (foo() != &wordlist[206])
abort ();
exit(0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment