URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.oliva/] [inline1.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Copyright (C) 1999 Free Software Foundation
// by Alexandre Oliva <oliva@lsd.ic.unicamp.br>
// Derived from GNU lilypond.
struct foo {
foo();
foo(const foo&);
~foo();
};
struct bar {
foo foo_member;
bar();
bar(const bar&);
// ~bar();
};
struct baz {
void error (bar s);
};
void fail() __attribute__((noreturn));
void baz::error (bar s) {
fail();
}