summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/packed5.C
blob: caf14d89c2931a18b11526e30dea205f58a3ba06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// PR c++/14173

struct A;

void foo(const A&);

struct A
{
  A(const A&);
};

struct B
{
  A a;
  A bar() { return a; }
};