diff options
| author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-02-28 15:13:38 -0500 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-02-28 22:13:38 +0200 |
| commit | 71cffa67fa90c7905fa8333f9895461563e50435 (patch) | |
| tree | bb9a0e5263d95f0a5fc95fb785d728e7a6ad32a1 /test cases/frameworks/26 netcdf/main.cpp | |
| parent | 939c00a9727e2ce47f320dd02aa3952c146406c7 (diff) | |
| download | meson-71cffa67fa90c7905fa8333f9895461563e50435.tar.gz | |
add NetCDF
Diffstat (limited to 'test cases/frameworks/26 netcdf/main.cpp')
| -rw-r--r-- | test cases/frameworks/26 netcdf/main.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test cases/frameworks/26 netcdf/main.cpp b/test cases/frameworks/26 netcdf/main.cpp new file mode 100644 index 000000000..a3c98ef31 --- /dev/null +++ b/test cases/frameworks/26 netcdf/main.cpp @@ -0,0 +1,15 @@ +#include <iostream> +#include "netcdf.h" + +int main(void) +{ +int ret, ncid; + +if ((ret = nc_create("foo.nc", NC_CLOBBER, &ncid))) + return ret; + +if ((ret = nc_close(ncid))) + return ret; + +return EXIT_SUCCESS; +} |
