c++: P0847R7 (deducing this) - xobj lambdas. [PR102609]
[official-gcc.git] / gcc / testsuite / g++.dg / vect / pr95576.cc
blob64e0e2dae7f59cd6629142d1d67f74da3f99ef9c
1 // { dg-do compile }
2 // { dg-additional-options "-O3 -fno-tree-forwprop -fcompare-debug" }
4 struct S {
5 virtual ~S();
6 struct S *s;
7 virtual void m();
8 int f;
9 void *d;
12 struct T : S {
13 void m();
16 S::~S() {
17 if (s) {
18 s->f = 0;
19 s->d = __null;
23 void T::m() {}