text: //===--------------------------------------------------------------------------------*- C++ -*-===//
  //                         _       _
  //                        | |     | |
  //                    __ _| |_ ___| | __ _ _ __   __ _
  //                   / _` | __/ __| |/ _` | '_ \ / _` |
  //                  | (_| | || (__| | (_| | | | | (_| |
  //                   \__, |\__\___|_|\__,_|_| |_|\__, | - GridTools Clang DSL
  //                    __/ |                       __/ |
  //                   |___/                       |___/
  //
  //
  //  This file is distributed under the MIT License (MIT).
  //  See LICENSE.txt for details.
  //
  //===------------------------------------------------------------------------------------------===//
  
  // RUN: %gtclang% %file% -fno-codegen
  
  #include "gridtools/clang_dsl.hpp"
  
  using namespace gridtools::clang;
  
  int kplus2 = 2;
  
  stencil Test {
    storage in, out;
  
    Do {
      vertical_region(k_start + kplus2, k_end) // EXPECTED_ERROR: offset of vertical region is not a constant expression
          in = out;
    }
  };
  
  int main() {}
  