mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
6de7c271e1
The skip test currently relies on the order of evaluation of arguments which is not defined. Use the comma operator where order is defined instead. gdb/testsuite/ChangeLog: 2013-06-18 Will Newton <will.newton@linaro.org> * gdb.base/skip.c: Use comma to evaluate results of foo() and bar() before passing to baz(). * gdb.base/skip.c: baz() now takes one argument instead of two.
10 lines
62 B
C
10 lines
62 B
C
int bar()
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
int baz(int a)
|
|
{
|
|
return a + 1;
|
|
}
|