diff options
Diffstat (limited to 'testcases/fail6.c')
-rw-r--r-- | testcases/fail6.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testcases/fail6.c b/testcases/fail6.c new file mode 100644 index 0000000..3419ce9 --- /dev/null +++ b/testcases/fail6.c @@ -0,0 +1,5 @@ +int main() { + struct C {int x;} *c; + /* fail because no member called `y' */ + c->y; +} |