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

Side by Side Diff: gdb/testsuite/gdb.cp/templates.cc

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 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 unified diff | Download patch
« no previous file with comments | « gdb/testsuite/gdb.cp/temargs.exp ('k') | gdb/testsuite/gdb.cp/templates.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This test code is from Wendell Baker (wbaker@comet.berkeley.edu) */ 1 /* This test code is from Wendell Baker (wbaker@comet.berkeley.edu) */
2 2
3 #include <stddef.h> 3 #include <stddef.h>
4 4
5 int a_i; 5 int a_i;
6 char a_c; 6 char a_c;
7 double a_d; 7 double a_d;
8 8
9 typedef void *Pix; 9 typedef void *Pix;
10 10
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 return 75; 727 return 75;
728 } 728 }
729 729
730 Empty<void(FunctionArg<int>)> empty; 730 Empty<void(FunctionArg<int>)> empty;
731 FunctionArg<int> arg; 731 FunctionArg<int> arg;
732 732
733 int main() 733 int main()
734 { 734 {
735 int i; 735 int i;
736 long l, m, n; 736 long l, m, n;
737 #ifdef usestubs 737
738 set_debug_traps();
739 breakpoint();
740 #endif
741 i = i + 1; 738 i = i + 1;
742 739
743 // New tests added here 740 // New tests added here
744 741
745 Foo<int> fint={0,0}; 742 Foo<int> fint={0,0};
746 Foo<char> fchar={0,0}; 743 Foo<char> fchar={0,0};
747 Foo<volatile char *> fvpchar = {0, 0}; 744 Foo<volatile char *> fvpchar = {0, 0};
748 745
749 Bar<int, 33> bint; 746 Bar<int, 33> bint;
750 Bar<int, (4 > 3)> bint2; 747 Bar<int, (4 > 3)> bint2;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 796
800 intBazOne ibo; 797 intBazOne ibo;
801 z = ibo.baz (2, 21); 798 z = ibo.baz (2, 21);
802 799
803 t5i.value(); 800 t5i.value();
804 801
805 arg.method(empty); 802 arg.method(empty);
806 803
807 return 0; 804 return 0;
808 } 805 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.cp/temargs.exp ('k') | gdb/testsuite/gdb.cp/templates.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698