================ @@ -0,0 +1,18 @@ +// RUN: %clang_cc1 -triple avr -target-cpu atmega328 -emit-llvm -x c++ < %s | FileCheck --allow-empty %s + +// This test case verifies https://github.com/llvm/llvm-project/issues/236285 . + +struct A {}; +struct B : A { + ~B(); +}; + +B::~B() {} + +struct C : B { + ~C(); +}; + +C::~C() {} + +// CHECK: {{.*}} alias void (ptr), ptr ---------------- benshi001 wrote:
Thanks. I have fixed.. https://github.com/llvm/llvm-project/pull/236752 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
