some tests

This commit is contained in:
Denis Blank 2015-06-10 03:09:07 +02:00 committed by Naios
parent d9307fa8b6
commit a0562ca170

View File

@ -92,12 +92,13 @@ int main(int argc, char** argv)
// This will never be executed because the CallbackContainer was deallocated and its weak callback proxies are crash safe.
weak_cb_test();
SharedCallback<> weak_2 = make_shared_callback([]
auto weak_2 = make_shared_callback([]
{
});
auto wrapped = make_weak_wrapped_callback(weak_2);
auto wrapped2 = make_weak_wrapped_callback(WeakCallback<>(weak_2));
return 0;
}