diff options
Diffstat (limited to 'testcases/fail7.c')
-rw-r--r-- | testcases/fail7.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testcases/fail7.c b/testcases/fail7.c new file mode 100644 index 0000000..5040408 --- /dev/null +++ b/testcases/fail7.c @@ -0,0 +1,6 @@ +int *main(int a,int b) { + struct {int x;} c; + /* fail because of wrong argument type */ + main(2, c); + return &a; +} |