================
@@ -7,7 +7,7 @@ void zero_array() {
   for (i = 0; i < 1; ++i)
     P[i] = 0.0f;
   // CHECK: ERROR: TypeSanitizer: type-aliasing-violation
-  // CHECK: WRITE of size 4 at {{.*}} with type float accesses an existing 
object of type p1 float
+  // CHECK: WRITE of size 4 at {{.*}} with type float accesses an existing 
object of type float*
----------------
fhahn wrote:

could you also add a test with a higher levels of indirection?

And possibly a type that's more than 512 chars?

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

Reply via email to