You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This gives the error: call to constructor of '__private Foo' is ambiguous
But since __private is more specific than __generic this should choose Foo() __private as it is the most specific constructor, rather than consider them equally specific.
The text was updated successfully, but these errors were encountered:
Extended Description
struct Foo {
int x;
};
kernel void k() {
__private Foo f;
}
https://godbolt.org/z/nGrdPacWY
This gives the error: call to constructor of '__private Foo' is ambiguous
But since __private is more specific than __generic this should choose Foo() __private as it is the most specific constructor, rather than consider them equally specific.
The text was updated successfully, but these errors were encountered: