diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2013-12-10 09:48:50 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2013-12-10 09:48:50 +0000 |
commit | a0d026d943dc202a52dbbe144064ad7ec08180b0 (patch) | |
tree | ce7a9145d25fdd726e166b8f367447a4000009bc /libstdc++-v3/testsuite | |
parent | ed9cbf7c9cbbd439b689cb988eceabcb3301fbd3 (diff) | |
download | gcc-a0d026d943dc202a52dbbe144064ad7ec08180b0.zip gcc-a0d026d943dc202a52dbbe144064ad7ec08180b0.tar.gz gcc-a0d026d943dc202a52dbbe144064ad7ec08180b0.tar.bz2 |
value.cc: Add test.
2013-12-10 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/20_util/is_base_of/value.cc: Add test.
* include/std/fstream: Tiny formatting tweak.
From-SVN: r205851
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/20_util/is_base_of/value.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/20_util/is_base_of/value.cc b/libstdc++-v3/testsuite/20_util/is_base_of/value.cc index cacee4c..7a88403 100644 --- a/libstdc++-v3/testsuite/20_util/is_base_of/value.cc +++ b/libstdc++-v3/testsuite/20_util/is_base_of/value.cc @@ -47,6 +47,8 @@ void test01() using namespace __gnu_test; // Positive tests. + static_assert(test_relationship<is_base_of, volatile ClassType, + ClassType>(true), ""); static_assert(test_relationship<is_base_of, AbstractClass, AbstractClass>(true), ""); static_assert(test_relationship<is_base_of, ClassType, |