diff options
author | Jason Merrill <jason@redhat.com> | 2015-12-24 22:25:09 -0500 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2015-12-24 22:25:09 -0500 |
commit | b4a0c79b1a70840486f3df4eae1195101870fa61 (patch) | |
tree | e02150bb025ec9c605961e93f0c8d14b1412b4b9 | |
parent | ee9661d435ccb883fe737e14813e24405942971c (diff) | |
download | gcc-b4a0c79b1a70840486f3df4eae1195101870fa61.zip gcc-b4a0c79b1a70840486f3df4eae1195101870fa61.tar.gz gcc-b4a0c79b1a70840486f3df4eae1195101870fa61.tar.bz2 |
Correct use of __GXX_WEAK__ macro.
* testsuite/ext/bitmap_allocator/check_deallocate_null.cc
* testsuite/ext/bitmap_allocator/check_allocate_max_size.cc
From-SVN: r231953
-rw-r--r-- | libstdc++-v3/ChangeLog | 6 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc | 2 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 766e9f1..1f83eaf 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2015-12-24 Jason Merrill <jason@redhat.com> + + * testsuite/ext/bitmap_allocator/check_deallocate_null.cc + * testsuite/ext/bitmap_allocator/check_allocate_max_size.cc: + Correct use of __GXX_WEAK__ macro. + 2015-12-22 Jonathan Wakely <jwakely@redhat.com> PR libstdc++/59768 diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc index 70b025d..8f2bcf1 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_allocate_max_size.cc @@ -30,7 +30,7 @@ int main() return 0; } -#if !__GXX_WEAK +#if !__GXX_WEAK__ // Explicitly instantiatiate for systems without weak symbols. template class __gnu_cxx::bitmap_allocator<value_type>; #endif diff --git a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc index 4fb6689..5850508 100644 --- a/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc +++ b/libstdc++-v3/testsuite/ext/bitmap_allocator/check_deallocate_null.cc @@ -30,7 +30,7 @@ int main() return 0; } -#if !__GXX_WEAK +#if !__GXX_WEAK__ // Explicitly instantiatiate for systems without weak symbols. template class __gnu_cxx::bitmap_allocator<value_type>; #endif |