aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/testshared/testdata/division/division.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/testshared/testdata/division/division.go')
-rw-r--r--misc/cgo/testshared/testdata/division/division.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/misc/cgo/testshared/testdata/division/division.go b/misc/cgo/testshared/testdata/division/division.go
deleted file mode 100644
index bb5fc98460..0000000000
--- a/misc/cgo/testshared/testdata/division/division.go
+++ /dev/null
@@ -1,17 +0,0 @@
-// Copyright 2017 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.
-
-package main
-
-//go:noinline
-func div(x, y uint32) uint32 {
- return x / y
-}
-
-func main() {
- a := div(97, 11)
- if a != 8 {
- panic("FAIL")
- }
-}