diff --git a/clang/test/CXX/special/class.dtor/p9.cpp b/clang/test/CXX/special/class.dtor/p9.cpp index 13243f510f3e..8b76a15078b7 100644 --- a/clang/test/CXX/special/class.dtor/p9.cpp +++ b/clang/test/CXX/special/class.dtor/p9.cpp @@ -70,3 +70,16 @@ namespace test2 { C c; // expected-note {{first required here}} } } + +// PR7346 +namespace test3 { + struct A { + virtual ~A(); + static void operator delete(void*, const int &); + }; + + struct B : A { + virtual ~B() {} + static void operator delete(void*); + }; +}