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-80947.C
blob
fe6faa73f591a816a3fead06a80c194232204b51
1
// { dg-do compile { target c++11 } }
2
// { dg-require-visibility "" }
3
// { dg-options "-fvisibility=hidden" }
4
5
template<class T>
6
class MyClass {
7
public:
8
MyClass() {
9
auto outer = [this]()
10
{
11
auto fn = [this] { };
12
};
13
}
14
};
15
16
int main() { MyClass<int> r; }