From ca6a78e4983655596af796650861b22385583549 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 18 Nov 2022 12:09:33 +0100 Subject: entity: add typedef test --- test/entity.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/entity.cpp b/test/entity.cpp index 7832eae2..b9b7c32f 100644 --- a/test/entity.cpp +++ b/test/entity.cpp @@ -141,6 +141,8 @@ void test_type_name() static_assert(name.data() == name_of.data()); static_assert(name_of != name_of); static_assert(name_of != name_of); + using foobar2 = foobar; + static_assert(name_of.data() == name_of.data()); } constexpr bool test_null_writer() -- cgit v1.2.3