]> git.ipfire.org Git - thirdparty/glibc.git/blob - stdlib/tst-putenv.c
Force building with -fno-common
[thirdparty/glibc.git] / stdlib / tst-putenv.c
1 #include <stdio.h>
2 #include <stdlib.h>
3
4 static int
5 do_test (void)
6 {
7 char *p = getenv ("SOMETHING_NOBODY_USES");
8 if (p == NULL)
9 {
10 puts ("envvar not defined");
11 return 1;
12 }
13
14 return 0;
15 }
16
17 #define TEST_FUNCTION do_test ()
18 #include "../test-skeleton.c"