summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/unused-8b.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/unused-8b.c')
-rw-r--r--gcc/testsuite/gcc.dg/unused-8b.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/unused-8b.c b/gcc/testsuite/gcc.dg/unused-8b.c
new file mode 100644
index 00000000000..5b4b894937c
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/unused-8b.c
@@ -0,0 +1,4 @@
+/* { dg-do compile } */
+/* { dg-options "-Wall -Wno-unused -Wextra" } */
+
+void foo(int x) { }