aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/skip1.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/skip1.c')
-rw-r--r--gdb/testsuite/gdb.base/skip1.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/skip1.c b/gdb/testsuite/gdb.base/skip1.c
index 9a06e62..7d94332 100644
--- a/gdb/testsuite/gdb.base/skip1.c
+++ b/gdb/testsuite/gdb.base/skip1.c
@@ -26,3 +26,14 @@ baz (int a)
{
return a + 1;
}
+
+static void
+test_skip (void)
+{
+}
+
+void
+skip1_test_skip_file_and_function (void)
+{
+ test_skip ();
+}