Enhance gcc test for visible variables with -fwhole-program.
authorKevin O'Connor <kevin@koconnor.net>
Fri, 26 Jun 2009 22:55:50 +0000 (18:55 -0400)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 26 Jun 2009 22:55:50 +0000 (18:55 -0400)
commita68287f4f05b828e668f9993140cdc7b5fbf420a
tree6765950167fe6553fe220f792f0a26fa75a3c197
parent5c3f5dde217f382b02350973a38f50941904473d
Enhance gcc test for visible variables with -fwhole-program.

Add 'extern' decl before variable test - some older compilers wont
    mark a variable visible if an extern decl precedes it.
tools/test-gcc.sh