aboutsummaryrefslogtreecommitdiff
path: root/testcases/fail6.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/fail6.c')
-rw-r--r--testcases/fail6.c5
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;
+}