Debian Codegraph @

gcc/testsuite/go.test/test/fixedbugs/issue37246.go

raw
1 // compile
2
3 // Copyright 2020 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 package main
8
9 func main() {
10 var n, a, b int64
11 for i := int64(2); i < 10; i++ {
12 for j := i; j < 10; j++ {
13 if ((n % (i * j)) == 0) && (j > 1 && (n/(i*j)) == 1) {
14 a, b = i, 0
15 a = n / (i * j)
16 }
17 }
18 }
19
20 if a != b && a != n {
21 println("yes")
22 }
23 }