summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/init/elide1_y.C
blob: e767d08082e3bf2002d3c9fc43c0764241a13bd3 (plain)
1
2
3
4
5
6
7
8
9
#include "elide1.h"

int d;

A::A () { }
A::A (const A&) { }
A::~A() { ++d; }

void f (A a) { }