summaryrefslogtreecommitdiff
path: root/UBasan-test.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-08-14 19:58:58 +0200
committerOskar <[email protected]>2024-08-14 19:58:58 +0200
commit19f1a70edbf2b08536c114e12f7b3c1e77469730 (patch)
tree1cb1162c8e205cdb2bcddfbcb1d6a09f2d2ff915 /UBasan-test.cpp
parentc5587e2392d55b3e0dc322c0545ead4a314132c0 (diff)
Forgot how painful input buffers are
Diffstat (limited to 'UBasan-test.cpp')
-rw-r--r--UBasan-test.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/UBasan-test.cpp b/UBasan-test.cpp
index 1cbcfc7..b5ca4bd 100644
--- a/UBasan-test.cpp
+++ b/UBasan-test.cpp
@@ -20,7 +20,6 @@ int main () {
std::cin >> a;
double b = 10 / a;
std::cout << b << std::endl;
-
int c = 10;
std::cout << "Input a 0: " << std::endl;
std::cin >> c;