summaryrefslogtreecommitdiffstats
path: root/test cases/common/13 pch/withIncludeFile/prog.c
blob: 9d495f6f14af8ebe5d7a13d7af640b8b5eff336b (plain)
1
2
3
4
5
6
7
8
9
10
// No includes here, they need to come from the PCH or explicit inclusion

void func(void) {
    fprintf(stdout, "This is a function that fails if stdio is not #included.\n");
    setlocale(LC_ALL, ""); /* This will fail if locale.h is not included */
}

int main(void) {
    return 0;
}