================
@@ -130,8 +133,7 @@ class shared_ptr
     // Fake error trigger.
     // No warning is expected as we are suppressing warning coming
     // out of std::shared_ptr.
-    int z = 0;
-    z = 5/z;
+    TRIGGER_DIV_BY_ZERO
----------------
gamesh411 wrote:

Fixed.

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

Reply via email to