mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-06 20:13:40 +00:00
ci: add support for LLVM 15
This commit switches to LLVM 15 everywhere by default, while still keeping LLVM 14 support.
This commit is contained in:
committed by
Ron Evans
parent
08a51535d4
commit
2b7f562202
Vendored
+8
-4
@@ -75,14 +75,18 @@ func complexMul(x, y complex64) complex64 {
|
||||
// A type 'kv' also exists in function foo. Test that these two types don't
|
||||
// conflict with each other.
|
||||
type kv struct {
|
||||
v float32
|
||||
v float32
|
||||
x, y, z int
|
||||
}
|
||||
|
||||
func foo(a *kv) {
|
||||
var kvGlobal kv
|
||||
|
||||
func foo() {
|
||||
// Define a new 'kv' type.
|
||||
type kv struct {
|
||||
v byte
|
||||
v byte
|
||||
x, y, z int
|
||||
}
|
||||
// Use this type.
|
||||
func(b *kv) {}(nil)
|
||||
func(b kv) {}(kv{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user