Home
last modified time | relevance | path

Searched refs:make_unique_data (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/lib/cpp/libcxx/src/
Dmain.cpp40 struct make_unique_data { struct
45 make_unique_data () : in make_unique_data() argument
49 ~make_unique_data () in ~make_unique_data() argument
54 int make_unique_data::ctors;
55 int make_unique_data::dtors;
59 zassert_equal(make_unique_data::ctors, 0, "ctor count not initialized"); in ZTEST()
60 zassert_equal(make_unique_data::dtors, 0, "dtor count not initialized"); in ZTEST()
61 auto d = std::make_unique<make_unique_data>(); in ZTEST()
63 zassert_equal(make_unique_data::ctors, 1, "ctr update failed"); in ZTEST()
65 zassert_equal(make_unique_data::dtors, 0, "dtor count not zero"); in ZTEST()
[all …]