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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
ref-qual15.C
blob
ca333c2e2874e820f4574f3e490848cff0f79c60
1
// PR c++/59296
2
// { dg-do compile { target c++11 } }
3
4
struct Type
5
{
6
void get() const& { }
7
void get() const&& { }
8
};
9
10
int main()
11
{
12
Type{}.get();
13
}