root/test/correctness/plain_c_includes.c

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

DEFINITIONS

This source file includes following definitions.
  1. main

#ifdef __cplusplus
#error "This test must be compiled as plain C, without C++ enabled."
#endif

#include <stdio.h>

// Verify that all HalideRuntime*.h files can be compiled without C++
#include "HalideRuntime.h"
#include "HalideRuntimeCuda.h"
#include "HalideRuntimeHexagonHost.h"
#include "HalideRuntimeMetal.h"
#include "HalideRuntimeOpenCL.h"
#include "HalideRuntimeOpenGL.h"
#include "HalideRuntimeOpenGLCompute.h"
#include "HalideRuntimeQurt.h"


int main(int argc, char **argv) {
    printf("Success!");
    return 0;
}

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