Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: gdb/testsuite/gdb.base/skip.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/sizeof.exp ('k') | gdb/testsuite/gdb.base/skip.exp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « gdb/testsuite/gdb.base/sizeof.exp ('k') | gdb/testsuite/gdb.base/skip.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698