summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.oliva/stkalign.C
blob: 2b24f489e1e8d0a7de7a2006e25f42c8f638a481 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// { dg-do assemble }

// Copyright (C) 2000 Free Software Foundation

// by Alexandre Oliva <aoliva@cygnus.com>
// distilled from libg++'s Fix.cc


struct Integer {
  ~Integer () {}
};

void foo (const Integer& y);
Integer bar (const Integer& x);

void show (const Integer& x) {
  foo (bar (x));
}