1// { dg-do assemble  }
2
3// Copyright (C) 1999 Free Software Foundation
4
5// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6// Derived from GNU lilypond.
7
8
9struct foo {
10  foo();
11  foo(const foo&);
12  ~foo();
13};
14
15struct bar {
16  foo foo_member;
17  bar();
18  bar(const bar&);
19  // ~bar();
20};
21
22struct baz {
23  void error (bar s);
24};
25
26void fail() __attribute__((noreturn));
27
28void baz::error (bar s) {
29  fail();
30}
31