Skip to content

Commit 7ce4a8d

Browse files
authored
chore: make it crash
1 parent 2a31828 commit 7ce4a8d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

hello_world.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22
using namespace std;
33

44
int main() {
5-
int x;
6-
cout << x << endl;
5+
// int x;
6+
// cout << x << endl;
7+
8+
int *p = nullptr;
9+
10+
cout << *p << endl;
711

812
cout << "Hello World" << endl;
913

0 commit comments

Comments
 (0)