diff options
Diffstat (limited to 'cxx11/c++11-test-lambda-N2927.cpp')
-rw-r--r-- | cxx11/c++11-test-lambda-N2927.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cxx11/c++11-test-lambda-N2927.cpp b/cxx11/c++11-test-lambda-N2927.cpp index b86ad17..4c33ed5 100644 --- a/cxx11/c++11-test-lambda-N2927.cpp +++ b/cxx11/c++11-test-lambda-N2927.cpp @@ -1,5 +1,5 @@ -int main()
-{
- int ret = 0;
- return ([&ret]() -> int { return ret; })();
-}
+int main() +{ + int ret = 0; + return ([&ret]() -> int { return ret; })(); +} |