This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / g++.dg / tree-ssa / pr19952.C
blob92d669c14156aa1a9f57a798b2d1f4059f21070b
1 /* PR 19952 */
2 /* { dg-compile } */
3 /* { dg-options "-ftree-vectorize -O2" } */
5 int i;
7 struct A
9     ~A() { ++i; }
12 struct B
14     A a;
17 void foo()
19     for (int i=0; i<2; ++i)
20     {
21         B *p;
22         if (p) p->~B();
23     }