[no-member] Add functional tests for issue #3339
diff --git a/tests/functional/n/no/no_member_with_metaclass.py b/tests/functional/n/no/no_member_with_metaclass.py
new file mode 100644
index 0000000..d5b0f93
--- /dev/null
+++ b/tests/functional/n/no/no_member_with_metaclass.py
@@ -0,0 +1,20 @@
+# pylint: disable=missing-docstring,too-few-public-methods
+
+
+class ParentMetaclass(type):
+    def __init__(cls, what, bases=None, attrs=None):
+        super().__init__(what, bases, attrs)
+        cls.aloha = "test"
+
+
+class Parent(metaclass=ParentMetaclass):
+    def handle(self):
+        raise NotImplementedError
+
+
+class Test(Parent):
+    def handle(self) -> None:
+        return self.aloha
+
+
+print(Test().handle())