aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/warn-1.c
diff options
context:
space:
mode:
authorJ"orn Rennecke <joern.rennecke@superh.com>2003-04-17 11:46:56 +0000
committerJoern Rennecke <amylaar@gcc.gnu.org>2003-04-17 12:46:56 +0100
commit8633f25cf5259062451db10d6f4086fbe1bc712c (patch)
tree3797781b53f193bfa9d17d476fd17505bae80adc /gcc/testsuite/gcc.dg/warn-1.c
parentb5bc3efb4b18338eb7f2b79b257112ee880d086a (diff)
downloadgcc-8633f25cf5259062451db10d6f4086fbe1bc712c.zip
gcc-8633f25cf5259062451db10d6f4086fbe1bc712c.tar.gz
gcc-8633f25cf5259062451db10d6f4086fbe1bc712c.tar.bz2
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
Diffstat (limited to 'gcc/testsuite/gcc.dg/warn-1.c')
-rw-r--r--gcc/testsuite/gcc.dg/warn-1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/warn-1.c b/gcc/testsuite/gcc.dg/warn-1.c
index d966825..5039abc 100644
--- a/gcc/testsuite/gcc.dg/warn-1.c
+++ b/gcc/testsuite/gcc.dg/warn-1.c
@@ -14,3 +14,5 @@ static void bar (void)
foo (vp); /* { dg-warning "" } */
}
+
+void (*tourist_guide[]) (void) = { &bar };