repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* c-c++-common/ubsan/float-cast-overflow-6.c: Add i?86-*-* target.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.oliva
/
inline1.C
blob
f182b8344350f753579fe8f37cc6c5473bca7002
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
9
struct foo {
10
foo();
11
foo(const foo&);
12
~foo();
13
};
14
15
struct bar {
16
foo foo_member;
17
bar();
18
bar(const bar&);
19
// ~bar();
20
};
21
22
struct baz {
23
void error (bar s);
24
};
25
26
void fail() __attribute__((noreturn));
27
28
void baz::error (bar s) {
29
fail();
30
}