text: //===--------------------------------------------------------------------------------*- C++ -*-===//
  //                         _       _
  //                        | |     | |
  //                    __ _| |_ ___| | __ _ _ __   __ _
  //                   / _` | __/ __| |/ _` | '_ \ / _` |
  //                  | (_| | || (__| | (_| | | | | (_| |
  //                   \__, |\__\___|_|\__,_|_| |_|\__, | - GridTools Clang DSL
  //                    __/ |                       __/ |
  //                   |___/                       |___/
  //
  //
  //  This file is distributed under the MIT License (MIT).
  //  See LICENSE.txt for details.
  //
  //===------------------------------------------------------------------------------------------===//
  
  #include "gtclang_dsl_defs/gtclang_dsl.hpp"
  
  using namespace gtclang::dsl;
  
  stencil stencil {
    storage a, b, c;
    var tmp;
  
    Do {
      // MS0
      vertical_region(k_start, k_start) tmp = a;
  
      vertical_region(k_start + 1, k_end) b = tmp(k - 1);
  
      // MS1
      vertical_region(k_end, k_end) tmp = (b(k - 1) + b) * tmp;
  
      vertical_region(k_end - 1, k_start) {
        tmp = 2 * b;
        c = tmp(k + 1);
      }
    }
  };
  
  int main() {}
  