From 6505250e1d7ce4c2520b47d68d7714680781944a Mon Sep 17 00:00:00 2001 From: workkavint-ship-it Date: Tue, 10 Feb 2026 18:26:49 +0530 Subject: [PATCH] Update Test.cpp --- Test.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Test.cpp b/Test.cpp index c5c9802..e56cb35 100644 --- a/Test.cpp +++ b/Test.cpp @@ -1,4 +1,6 @@ -void test() { - int x = 10; - std::cout << x << std::endl; +#include + +void example() { + auto value = 10; // ❌ violates rule + std::cout << value << std::endl; }