================
@@ -13,3 +15,18 @@ template <typename T>
 struct S3 {
   int T::*foo;
 };
+
+template<int I> struct Base {};
+struct
+S5 // #S5
+:
+Base<sizeof(int S5::*)>
+// expected-error@-1 {{member pointer has incomplete base type 'S5'}}
----------------
rnk wrote:

Should this be an error in Microsoft mode? Shouldn't we silently use the 
unspecified model in that mode?

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

Reply via email to