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:
Ayke van Laethem
2022-09-22 13:39:51 +02:00
committed by Ron Evans
parent 08a51535d4
commit 2b7f562202
40 changed files with 895 additions and 881 deletions
+8 -4
View File
@@ -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{})
}