summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/vect/pr19951.cc
blob: a6acf99ff94d3b479823466aed1a559908306353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* { dg-do compile } */

struct A
{
    ~A();
};

void foo();

void bar()
{
    A a;

    foo();
    for (;;)
        foo();
}

/* { dg-final { cleanup-tree-dump "vect" } } */