OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* semantics.c (finish_qualified_id_expr): Use maybe_dummy_object
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
lambda
/
lambda-this2.C
1
// PR c++/43856
2
// Test for implicit 'this' capture via rewriting.
3
// { dg-options "-std=c++0x" }
4
5
struct S1 {
6
int operator()(int);
7
int i;
8
void g();
9
void f() {
10
[=]() {
11
i;
12
g();
13
S1::g();
14
operator()(42);
15
};
16
}
17
};