diff options
Diffstat (limited to 'test/CodeGenCXX/captured-statements.cpp')
-rw-r--r-- | test/CodeGenCXX/captured-statements.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGenCXX/captured-statements.cpp b/test/CodeGenCXX/captured-statements.cpp index fdda24fcf301..4b95503ad7b3 100644 --- a/test/CodeGenCXX/captured-statements.cpp +++ b/test/CodeGenCXX/captured-statements.cpp @@ -78,6 +78,7 @@ void test3(int x) { { x = [=]() { return x + 1; } (); } + x = [=]() { return x + 1; }(); // CHECK-3: %[[Capture:struct\.anon[\.0-9]*]] = type { i32* } |