warn-1.c (tourist_guide): New array, contains a pointer to bar.

* gcc.dg/warn-1.c (tourist_guide): New array,
	contains a pointer to bar.

From-SVN: r65741
This commit is contained in:
J"orn Rennecke 2003-04-17 11:46:56 +00:00 committed by Joern Rennecke
parent b5bc3efb4b
commit 8633f25cf5
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-04-17 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/warn-1.c (tourist_guide): New array,
contains a pointer to bar.
2003-04-16 Roger Sayle <roger@eyesopen.com>
* gcc.dg/Wunreachable-5.c: New test case for PR c/10175.

View File

@ -14,3 +14,5 @@ static void bar (void)
foo (vp); /* { dg-warning "" } */
}
void (*tourist_guide[]) (void) = { &bar };