summaryrefslogtreecommitdiff
path: root/tests/static-1.c
blob: cbdf07aeb7c73c50250170b287253cb15498b01c (plain)
1
2
3
4
5
6
7
8
9
// Files: static-1.c static-2.c
// pp2cc should be able to compile two files with the same function defined,
// but using static storage
static int f() {
    return 1;
}
int main() {
    return f();
}