summaryrefslogtreecommitdiff
path: root/tests/bugs/generic-type-arg-overloaded.slang.expected
blob: 390c4fe00257777b7648dde7cacc53761b18c54c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
result code = -1
standard error = {
tests/bugs/generic-type-arg-overloaded.slang(14): error 30200: declaration of 'Stuff' conflicts with existing declaration
struct Stuff {}
       ^~~~~
tests/bugs/generic-type-arg-overloaded.slang(11): note: see previous declaration of 'Stuff'
tests/bugs/generic-type-arg-overloaded.slang(26): error 39999: ambiguous reference to 'Stuff'
    return util<Stuff>()
                ^~~~~
tests/bugs/generic-type-arg-overloaded.slang(14): note 39999: candidate: struct Stuff
tests/bugs/generic-type-arg-overloaded.slang(11): note 39999: candidate: struct Stuff
tests/bugs/generic-type-arg-overloaded.slang(32): error 39999: expected a generic when using '<...>' (found: '() -> int')
        + nonGeneric<G>();
          ^~~~~~~~~~
}
standard output = {
}