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++/82069 - ICE with lambda in template
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-template15.C
blob
4da64f27fd859e456bff0126d38dd1793f95e7fc
1
// PR c++/82069
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
void foo(int *);
6
};
7
struct B : A {
8
template <typename> void bar(int *p1) {
9
[&] { foo(p1); };
10
}
11
};