aboutsummaryrefslogtreecommitdiff
path: root/testcases/fail7.c
blob: 5040408d0e64e90cba71fc8128296edfd493e566 (plain) (blame)
1
2
3
4
5
6
int *main(int a,int b) {
    struct {int x;} c;
    /* fail because of wrong argument type */
    main(2, c);
    return &a;
}