summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/init/inline1.C
blob: f3e323427d35695be3ede3644767b34175b11e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// PR c++/9167
// { dg-options "-finline" }

struct A {
  ~A();
  A f(A) { }
};


void f(void)
{
  A a;
  a.f(a);
}