================
@@ -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'}}
----------------
tex3d wrote:

Is this the error message we want if we don't support constructors at all in 
HLSL?

https://github.com/llvm/llvm-project/pull/190089
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to