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
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto55.C
blob
5bd32ac890db2dfab065f44766529818c8160bb8
1
// PR c++/98441
2
// { dg-do compile { target c++11 } }
3
4
struct a {
5
int& mfn();
6
};
7
8
void fn()
9
{
10
int& (a::*myvar1)(void) = &a::mfn;
11
auto& (a::*myvar2)(void) = &a::mfn;
12
auto (a::*myvar3)(void) = &a::mfn;
13
}