diff options
Diffstat (limited to 'pkgs/test/cc-wrapper/nostdinc-main.c')
-rw-r--r-- | pkgs/test/cc-wrapper/nostdinc-main.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/test/cc-wrapper/nostdinc-main.c b/pkgs/test/cc-wrapper/nostdinc-main.c new file mode 100644 index 000000000000..f71d155b1b27 --- /dev/null +++ b/pkgs/test/cc-wrapper/nostdinc-main.c @@ -0,0 +1,8 @@ +// This one should not come from libc because of -nostdinc +#include <stdio.h> + +int main(int argc, char *argv[]) { + // provided by our own stdio.h + foo(); + return 0; +} |