summaryrefslogtreecommitdiffstats
path: root/test cases/failing build/1 vala c werror/unused-var.c
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/failing build/1 vala c werror/unused-var.c')
-rw-r--r--test cases/failing build/1 vala c werror/unused-var.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/failing build/1 vala c werror/unused-var.c b/test cases/failing build/1 vala c werror/unused-var.c
new file mode 100644
index 0000000..6b85078
--- /dev/null
+++ b/test cases/failing build/1 vala c werror/unused-var.c
@@ -0,0 +1,8 @@
+#warning "something"
+
+int
+somelib(void)
+{
+ int unused_var;
+ return 33;
+}