diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_lambda_init_captures.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_lambda_init_captures.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/CompileFeatures/cxx_lambda_init_captures.cpp b/Tests/CompileFeatures/cxx_lambda_init_captures.cpp index 46f22cb..7e337fa 100644 --- a/Tests/CompileFeatures/cxx_lambda_init_captures.cpp +++ b/Tests/CompileFeatures/cxx_lambda_init_captures.cpp @@ -2,6 +2,5 @@ int someFunc() { int a = 0; - return [b = static_cast<int&&>(a)]() { return b; } - (); + return [b = static_cast<int&&>(a)]() { return b; }(); } |