repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
cv_func2.C
blob
ffd249fc807e032836e85a58eb301da2400c9bc7
1
typedef int ptr1() const; // no error
2
3
void foo ()
4
{
5
typedef int ptr2() const; // no error
6
}
7
8
class C
9
{
10
typedef int ptr3() const; // error
11
12
void bar ()
13
{
14
typedef int ptr4() const; // no error
15
}
16
};
17
18
void wibble () const { } // { dg-error "non-member function" }