github.com/zach-klippenstein/go@v0.0.0-20150108044943-fcfbeb3adf58/test/fixedbugs/issue6889.go (about) 1 // errorcheck 2 3 // Copyright 2014 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 // Issue 6889: confusing error message: ovf in mpaddxx 8 9 package main 10 11 const ( 12 f1 = 1 13 f2 = f1 * 2 14 f3 = f2 * 3 15 f4 = f3 * 4 16 f5 = f4 * 5 17 f6 = f5 * 6 18 f7 = f6 * 7 19 f8 = f7 * 8 20 f9 = f8 * 9 21 f10 = f9 * 10 22 f11 = f10 * 11 23 f12 = f11 * 12 24 f13 = f12 * 13 25 f14 = f13 * 14 26 f15 = f14 * 15 27 f16 = f15 * 16 28 f17 = f16 * 17 29 f18 = f17 * 18 30 f19 = f18 * 19 31 f20 = f19 * 20 32 f21 = f20 * 21 33 f22 = f21 * 22 34 f23 = f22 * 23 35 f24 = f23 * 24 36 f25 = f24 * 25 37 f26 = f25 * 26 38 f27 = f26 * 27 39 f28 = f27 * 28 40 f29 = f28 * 29 41 f30 = f29 * 30 42 f31 = f30 * 31 43 f32 = f31 * 32 44 f33 = f32 * 33 45 f34 = f33 * 34 46 f35 = f34 * 35 47 f36 = f35 * 36 48 f37 = f36 * 37 49 f38 = f37 * 38 50 f39 = f38 * 39 51 f40 = f39 * 40 52 f41 = f40 * 41 53 f42 = f41 * 42 54 f43 = f42 * 43 55 f44 = f43 * 44 56 f45 = f44 * 45 57 f46 = f45 * 46 58 f47 = f46 * 47 59 f48 = f47 * 48 60 f49 = f48 * 49 61 f50 = f49 * 50 62 f51 = f50 * 51 63 f52 = f51 * 52 64 f53 = f52 * 53 65 f54 = f53 * 54 66 f55 = f54 * 55 67 f56 = f55 * 56 68 f57 = f56 * 57 69 f58 = f57 * 58 70 f59 = f58 * 59 71 f60 = f59 * 60 72 f61 = f60 * 61 73 f62 = f61 * 62 74 f63 = f62 * 63 75 f64 = f63 * 64 76 f65 = f64 * 65 77 f66 = f65 * 66 78 f67 = f66 * 67 79 f68 = f67 * 68 80 f69 = f68 * 69 81 f70 = f69 * 70 82 f71 = f70 * 71 83 f72 = f71 * 72 84 f73 = f72 * 73 85 f74 = f73 * 74 86 f75 = f74 * 75 87 f76 = f75 * 76 88 f77 = f76 * 77 89 f78 = f77 * 78 90 f79 = f78 * 79 91 f80 = f79 * 80 92 f81 = f80 * 81 93 f82 = f81 * 82 94 f83 = f82 * 83 95 f84 = f83 * 84 96 f85 = f84 * 85 97 f86 = f85 * 86 98 f87 = f86 * 87 99 f88 = f87 * 88 100 f89 = f88 * 89 101 f90 = f89 * 90 102 f91 = f90 * 91 // ERROR "overflow" 103 )