================
@@ -68,6 +68,7 @@ struct Fish {
// expected-note@+1 {{'->' applied to return value of the operator->()
declared here}}
Fins operator ->() {
+ // expected-error@+1 {{no matching constructor for initialization of
'Fins'}}
----------------
spall wrote:
Yeah that could probably be something better. Unsure what we want the error to
be though. Something like "HLSL doesn't support constructors"?
https://github.com/llvm/llvm-project/pull/190089
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits