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