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
2017-09-18 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-mangle4.C
blob
b63c277e56cdcc6c6264f78c6a9c07bb1d7d9305
1
// PR c++/54538
2
// { dg-do compile { target c++11 } }
3
4
template <class T>
5
struct A
6
{
7
// { dg-final { scan-assembler "_ZNK1AIcE1pMUlvE_clEv" } }
8
// { dg-final { scan-assembler "_ZNK1AIiE1pMUlvE_clEv" } }
9
void (*p)() = []{};
10
};
11
12
A<int> a1;
13
A<char> a2;