☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net11.C
☽
☼
gcc/testsuite/g++.old-deja/g++.mike/net11.C
code
plain
raw
1
// { dg-do assemble }
2
// { dg-options "-pedantic-errors" }
3
4
struct Foo {
5
char *p;
6
const char *q;
7
void m() const;
8
};
9
10
void other(char &x);
11
12
void
13
Foo::m() const
14
{
15
other(*p); // this is legal
16
}