- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 912 for illegal (0.3 sec)
-
src/cmd/asm/internal/asm/testdata/amd64error.s
// Broadcast without memory operand. VADDPD.BCST X3, X2, K1, X1 // ERROR "illegal broadcast without memory argument" VADDPD.BCST X3, X2, K1, X1 // ERROR "illegal broadcast without memory argument" VADDPD.BCST X3, X2, K1, X1 // ERROR "illegal broadcast without memory argument" // CLWB instructions: CLWB BX // ERROR "invalid instruction"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 8.9K bytes - Viewed (0) -
test/func4.go
// errorcheck // Copyright 2009 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. // Verify that it is illegal to take the address of a function. // Does not compile. package main var notmain func() func main() { var x = &main // ERROR "address of|invalid" main = notmain // ERROR "assign to|invalid" _ = x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 03:28:53 UTC 2012 - 409 bytes - Viewed (0) -
test/fixedbugs/bug098.go
package main type A []int; type M map[int] int; func main() { var a *A = &A{0}; var m *M = &M{0 : 0}; // should be legal to use & here for consistency with other composite constructors (prev. line) _, _ = a, m; } /* uetli:~/Source/go1/test/bugs gri$ 6g bug098.go && 6l bug098.6 && 6.out bug098.go:10: illegal types for operand: AS (*MAP[<int32>INT32]<int32>INT32) (**MAP[<int32>INT32]<int32>INT32)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 582 bytes - Viewed (0) -
test/fixedbugs/bug062.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 28 14:28:33 UTC 2023 - 272 bytes - Viewed (0) -
test/fixedbugs/issue7996.go
// compile // Copyright 2014 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. // /tmp/x.go:5: illegal constant expression: bool == interface {} package p var m = map[interface{}]struct{}{ nil: {}, true: {},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 308 bytes - Viewed (0) -
test/fixedbugs/bug088.dir/bug1.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 550 bytes - Viewed (0) -
test/fixedbugs/bug322.dir/main.go
type I interface { M() } type PI interface { PM() } func main() { var t lib.T t.M() t.PM() // This is still an error. // var i1 I = t // i1.M() // This combination is illegal because // PM requires a pointer receiver. // var pi1 PI = t // pi1.PM() var pt = &t pt.M() pt.PM() var i2 I = pt i2.M() var pi2 PI = pt pi2.PM()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 24 23:48:19 UTC 2011 - 540 bytes - Viewed (0) -
test/fixedbugs/bug300.go
// license that can be found in the LICENSE file. package main type T struct { x, y *T } func main() { // legal composite literals _ = struct{}{} _ = [42]int{} _ = [...]int{} _ = []int{} _ = map[int]int{} _ = T{} // illegal composite literals: parentheses not allowed around literal type _ = (struct{}){} // ERROR "parenthesize" _ = ([42]int){} // ERROR "parenthesize"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 697 bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/errors.mlir
// RUN: tf-tfrt-opt -tf-to-tfrt %s -split-input-file -verify-diagnostics // expected-error @+1 {{failed to legalize operation 'func.func' that was explicitly marked illegal}} func.func @test_identity_wrong_type(%arg0: tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> { %0 = "tf.SomeOp"(%arg0) : (tensor<4x2x!tf_type.string>) -> tensor<4x2x!tf_type.stringref> func.return %0 : tensor<4x2x!tf_type.stringref>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 25 10:51:48 UTC 2022 - 428 bytes - Viewed (0) -
test/char_lit1.go
// errorcheck -d=panic // Copyright 2009 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. // Verify that illegal character literals are detected. // Does not compile. package main const ( // check that surrogate pair elements are invalid // (d800-dbff, dc00-dfff). _ = '\ud7ff' // ok _ = '\ud800' // ERROR "Unicode|unicode"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 05 18:46:43 UTC 2021 - 822 bytes - Viewed (0)