================
@@ -1411,6 +1411,8 @@ struct B : public A {
 
   B(int (*)[4]) : A(foo()) {}
   // expected-warning@-1 {{base_class_access::A' is uninitialized when used 
here to access 'base_class_access::A::foo'}}
+
+  virtual void f() = 0;
----------------
zwuis wrote:

Would it be better to add new tests instead of modify existing tests?

https://github.com/llvm/llvm-project/pull/217715
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to