Index: gdb/testsuite/gdb.base/skip.c |
diff --git a/gdb/testsuite/gdb.base/skip.c b/gdb/testsuite/gdb.base/skip.c |
index 565ba93fcf8ee4dffe5bef16cfdf67785e71bdc9..1467fe369134090e63d8f0dae4061c115c6f6b55 100644 |
--- a/gdb/testsuite/gdb.base/skip.c |
+++ b/gdb/testsuite/gdb.base/skip.c |
@@ -1,10 +1,11 @@ |
int foo(); |
int bar(); |
-int baz(int, int); |
+int baz(int); |
int main() |
{ |
- return baz(foo(), bar()); |
+ /* Use comma operator to sequence evaluation of bar and foo. */ |
+ return baz((bar(), foo())); |
} |
int foo() |