summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-23 11:54:03 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-23 11:54:03 -0700
commitf8f1085e5ed21f63a7ab5af02ca9a8249bf1f6a2 (patch)
treee41a7c8e34e7a402275bcb07142c7f9be8e267b8 /tests
parent41ec6a47ab81620bab9182f987e4bc4780e3a6ab (diff)
Add test for declaring variables of type void.
Diffstat (limited to 'tests')
-rw-r--r--tests/void-01.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/void-01.txt b/tests/void-01.txt
new file mode 100644
index 0000000000..5719edc0b6
--- /dev/null
+++ b/tests/void-01.txt
@@ -0,0 +1,2 @@
+/* FAIL - cannot declare a variable as having type `void' */
+void foo;