root/test/warning/hidden_pure_definition.cpp

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

#include "Halide.h"
#include <stdio.h>

using namespace Halide;

int main(int argc, char **argv) {
    Func f;
    Var x;

    f(x) = x;

    // Hide the previous definition.
    f(x) = 2;

    return 0;
}

/* [<][>][^][v][top][bottom][index][help] */