diff options
Diffstat (limited to 'meson/test cases/unit/89 multiple envvars/prog.cpp')
-rw-r--r-- | meson/test cases/unit/89 multiple envvars/prog.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meson/test cases/unit/89 multiple envvars/prog.cpp b/meson/test cases/unit/89 multiple envvars/prog.cpp new file mode 100644 index 000000000..61ccf3a45 --- /dev/null +++ b/meson/test cases/unit/89 multiple envvars/prog.cpp @@ -0,0 +1,18 @@ +#include<cstdio> + +#ifndef CPPFLAG +#error CPPFLAG not set +#endif + +#ifdef CFLAG +#error CFLAG is set +#endif + +#ifndef CXXFLAG +#error CXXFLAG not set +#endif + +int main(int argc, char **argv) { + printf("%d %s\n", argc, argv[0]); + return 0; +} |