diff options
Diffstat (limited to 'Tests/CompileFeatures/cxx_range_for.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_range_for.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Tests/CompileFeatures/cxx_range_for.cpp b/Tests/CompileFeatures/cxx_range_for.cpp index 892109e..e3b5724 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; - } + } } |