diff options
author | J"orn Rennecke <joern.rennecke@superh.com> | 2003-04-17 11:46:56 +0000 |
---|---|---|
committer | Joern Rennecke <amylaar@gcc.gnu.org> | 2003-04-17 12:46:56 +0100 |
commit | 8633f25cf5259062451db10d6f4086fbe1bc712c (patch) | |
tree | 3797781b53f193bfa9d17d476fd17505bae80adc /gcc/testsuite/gcc.dg/warn-1.c | |
parent | b5bc3efb4b18338eb7f2b79b257112ee880d086a (diff) | |
download | gcc-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.c | 2 |
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 }; |