diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/skip.c')
-rw-r--r-- | gdb/testsuite/gdb.base/skip.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/skip.c b/gdb/testsuite/gdb.base/skip.c index b9db2a7..576f2ab 100644 --- a/gdb/testsuite/gdb.base/skip.c +++ b/gdb/testsuite/gdb.base/skip.c @@ -21,12 +21,19 @@ int foo (void); int bar (void); int baz (int); void skip1_test_skip_file_and_function (void); +void test_skip_file_and_function (void); int main () { + int x; + /* Use comma operator to sequence evaluation of bar and foo. */ - return baz ((bar (), foo ())); + x = baz ((bar (), foo ())); + + test_skip_file_and_function (); + + return 0; } int |