summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index bd7b6ec..d567012 100644
--- a/main.cpp
+++ b/main.cpp
@@ -2,7 +2,8 @@
int main()
{
- ft::vector<int> vec;
- (void)vec;
+ ft::vector<int> vec(10);
+ ft::vector<int> other(vec);
+ vec = other;
return 0;
}