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
/
abi
/
mangle63.C
blob
d6a58a35b82871c0a98121506960e95e37c3a0f4
1
// DR 850 makes this valid
2
// { dg-do compile { target c++11 } }
3
4
template<class T> struct A
5
{
6
int mem;
7
template<class U> decltype(U()+mem) f();
8
};
9
int i = A<int>().f<int>();
10
11
// { dg-final { scan-assembler "_ZN1AIiE1fIiEEDTplcvT__E3memEv" } }