summaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/captured-statements.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-11-25 19:07:40 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-11-25 19:07:40 +0000
commit17c7957f023f02fc2c88f51f8908c19b52609275 (patch)
treec654618ff2d38e26916b49614d89fe01f4a4818d /test/CodeGenCXX/captured-statements.cpp
parentc477790a57f44875b9de2043f2eb47dff2d20133 (diff)
Notes
Diffstat (limited to 'test/CodeGenCXX/captured-statements.cpp')
-rw-r--r--test/CodeGenCXX/captured-statements.cpp1
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* }