mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
ed9cbf7c9c
commit
a0d026d943
|
|
@ -1,3 +1,9 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2013-12-09 Paolo Carlini <paolo.carlini@oracle.com>
|
2013-12-09 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
PR libstdc++/59427
|
PR libstdc++/59427
|
||||||
|
|
|
||||||
|
|
@ -47,6 +47,8 @@ void test01()
|
||||||
using namespace __gnu_test;
|
using namespace __gnu_test;
|
||||||
|
|
||||||
// Positive tests.
|
// Positive tests.
|
||||||
|
static_assert(test_relationship<is_base_of, volatile ClassType,
|
||||||
|
ClassType>(true), "");
|
||||||
static_assert(test_relationship<is_base_of, AbstractClass,
|
static_assert(test_relationship<is_base_of, AbstractClass,
|
||||||
AbstractClass>(true), "");
|
AbstractClass>(true), "");
|
||||||
static_assert(test_relationship<is_base_of, ClassType,
|
static_assert(test_relationship<is_base_of, ClassType,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue