diff options
Diffstat (limited to 'test/bptr.cpp')
-rw-r--r-- | test/bptr.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/bptr.cpp b/test/bptr.cpp new file mode 100644 index 00000000..b8e4bef1 --- /dev/null +++ b/test/bptr.cpp @@ -0,0 +1,26 @@ +#include "app.hpp" +#include "compat/assert.hpp" +#include "compat/borrowed-ptr.inl" + +namespace floormat { + +namespace { struct Foo {}; struct Bar : Foo {}; struct Baz {}; } +template struct detail_borrowed_ptr::control_block_impl<Foo>; +template class bptr<Foo>; +template bptr<Bar> static_pointer_cast(const bptr<Foo>&) noexcept; + +namespace { + +void test1() +{ +} + +} // namespace + +void test_app::test_bptr() +{ + test1(); +} + + +} // namespace floormat |