summaryrefslogtreecommitdiff
path: root/Tests/CompileFeatures/cxx_range_for.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CompileFeatures/cxx_range_for.cpp')
-rw-r--r--Tests/CompileFeatures/cxx_range_for.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/CompileFeatures/cxx_range_for.cpp b/Tests/CompileFeatures/cxx_range_for.cpp
index 892109e901..e3b5724a7f 100644
--- a/Tests/CompileFeatures/cxx_range_for.cpp
+++ b/Tests/CompileFeatures/cxx_range_for.cpp
@@ -3,8 +3,7 @@ void someFunc()
{
int accumulated = 0;
int numbers[] = { 1, 2, 5 };
- for (int i : numbers)
- {
+ for (int i : numbers) {
accumulated += i;
- }
+ }
}