OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2004-10-08 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git]
/
libstdc++-v3
/
testsuite
/
ext
/
mt_allocator
/
deallocate_global_thread-3.cc
diff --git
a/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc
b/libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc
index
10efea6
..
398ef31
100644
(file)
--- a/
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc
+++ b/
libstdc++-v3/testsuite/ext/mt_allocator/deallocate_global_thread-3.cc
@@
-31,8
+31,10
@@
struct count_check
count_check() {}
~count_check()
{
+#ifdef _GLIBCXX_USE___CXA_ATEXIT
if (count != 0)
throw std::runtime_error("count isn't zero");
+#endif
}
};