Correct cdtest g++ version test
authorAlan Modra <amodra@gmail.com>
Sat, 3 Dec 2016 10:28:55 +0000 (20:58 +1030)
committerAlan Modra <amodra@gmail.com>
Sat, 3 Dec 2016 10:28:55 +0000 (20:58 +1030)
commitf522190fa7f04a8d9a1dfc51d0cf69973c08afb5
tree129d3963e59774b15411a73d8a94b6bc3610e00c
parentb8ac28419be22fe0cc72f6eaaba1ab029610fc71
Correct cdtest g++ version test

Fixes declaration conflict with built-in strncpy.

* testsuite/ld-cdtest/cdtest-foo.cc: Test for __GNUG__ >= 2.
ld/ChangeLog
ld/testsuite/ld-cdtest/cdtest-foo.cc