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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net12.C
blob
f27dd46c81bd0a34f73aa7a15bd92dd1d8a4b164
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); // { dg-message "" } reference below
11
12
void
13
Foo::m() const
14
{
15
other(*q); // { dg-error "" } this is bad
16
}