From c8a6bf30bf7ae43a611f3cacbd77368d02dca575 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 4 May 2024 20:00:14 +0200 Subject: a w --- test/bptr.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 test/bptr.cpp (limited to 'test/bptr.cpp') 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; +template class bptr; +template bptr static_pointer_cast(const bptr&) noexcept; + +namespace { + +void test1() +{ +} + +} // namespace + +void test_app::test_bptr() +{ + test1(); +} + + +} // namespace floormat -- cgit v1.2.3