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++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lang-dump.C
blob
b2eddafa79eebf6b336da0333fc313e55ec89ec5
1
// { dg-additional-options "-fdump-lang-all" }
2
// Just check we don't explode when asking for language dumps. Does
3
// not necessarily mean any particular language dump is useful.
4
5
struct X
6
{
7
int m;
8
virtual ~X ();
9
};
10
11
X::~X () {}
12
13
struct Y : X
14
{
15
};
16
17
int frob (int a)
18
{
19
return 2 * a;
20
}
21