blob: 2b24f489e1e8d0a7de7a2006e25f42c8f638a481 [file] [log] [blame]
// { 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));
}