aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/frameworks/26 netcdf/main.cpp
blob: a3c98ef3182699bfb68e1b248376e62f95d46337 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;
}