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

Side by Side Diff: gdb/testsuite/gdb.go/types.go

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.go/types.exp ('k') | gdb/testsuite/gdb.go/unsafe.exp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 package main
2
3 import "fmt"
4
5 // Self-referential type.
6 type T *T
7
8 // Mutually recursive types.
9 type T1 *T2
10 type T2 *T1
11
12 // Mutually recursive struct types.
13 type S1 struct { p_s2 *S2 }
14 type S2 struct { p_s1 *S1 }
15
16 func main () {
17 fmt.Println ("Shall we?")
18 var t T
19 fmt.Println (t)
20 var s1 S1
21 var s2 S2
22 fmt.Println (s1)
23 fmt.Println (s2)
24 }
OLDNEW
« no previous file with comments | « gdb/testsuite/gdb.go/types.exp ('k') | gdb/testsuite/gdb.go/unsafe.exp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698