gcc/testsuite/go.test/test/fixedbugs/issue19507.dir/main.go
raw| 1 | // +build arm |
| 2 | |
| 3 | // Copyright 2017 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | // Make sure we can compile assembly with DIV and MOD in it. |
| 8 | // They get rewritten to runtime calls on GOARM=5. |
| 9 | |
| 10 | package main |
| 11 | |
| 12 | func f(x, y uint32) |
| 13 | |
| 14 | func main() { |
| 15 | f(5, 8) |
| 16 | } |