aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/test/cc-wrapper/nostdinc-main.c
blob: f71d155b1b278de7fc9f4c4b5b10e6f03a96d445 (plain)
1
2
3
4
5
6
7
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;
}