aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
Diffstat (limited to 'validation')
-rw-r--r--validation/eval/typeof0.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/validation/eval/typeof0.c b/validation/eval/typeof0.c
new file mode 100644
index 00000000..abef6386
--- /dev/null
+++ b/validation/eval/typeof0.c
@@ -0,0 +1,11 @@
+static int i;
+static typeof(i) *ptr;
+
+/*
+ * check-name: eval-typeof0
+ * check-command: test-show-type $file
+ * check-known-to-fail
+ *
+ * check-output-ignore
+ * check-output-excludes: unknown type
+ */