aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/sizeof.go
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/go.test/test/sizeof.go')
-rw-r--r--gcc/testsuite/go.test/test/sizeof.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/testsuite/go.test/test/sizeof.go b/gcc/testsuite/go.test/test/sizeof.go
index 544e4c52c..a6abdd5c6 100644
--- a/gcc/testsuite/go.test/test/sizeof.go
+++ b/gcc/testsuite/go.test/test/sizeof.go
@@ -1,9 +1,11 @@
-// $G $D/$F.go
+// compile
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// Test unsafe.Sizeof, unsafe.Alignof, and unsafe.Offsetof all return uintptr.
+
package main
import "unsafe"