text: //===--------------------------------------------------------------------------------*- C++ -*-===//
  //                         _       _
  //                        | |     | |
  //                    __ _| |_ ___| | __ _ _ __   __ _
  //                   / _` | __/ __| |/ _` | '_ \ / _` |
  //                  | (_| | || (__| | (_| | | | | (_| |
  //                   \__, |\__\___|_|\__,_|_| |_|\__, | - GridTools Clang DSL
  //                    __/ |                       __/ |
  //                   |___/                       |___/
  //
  //
  //  This file is distributed under the MIT License (MIT).
  //  See LICENSE.txt for details.
  //
  //===------------------------------------------------------------------------------------------===//
  
  // RUN: %gtclang% %file% -fno-codegen -freport-pass-temporary-type
  // EXPECTED: PASS: PassTemporaryType: Test: demote:tmp
  
  #include "gridtools/clang_dsl.hpp"
  
  using namespace gridtools::clang;
  
  stencil Test {
    storage foo;
    var tmp;
  
    Do {
      vertical_region(k_start, k_end) {
        tmp = 5.0;
        foo = tmp;
      }
    }
  };
  
  int main() {}
  