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
This commit is contained in:
Jason Merrill 2015-12-24 22:25:09 -05:00 committed by Jason Merrill
parent ee9661d435
commit b4a0c79b1a
3 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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