Ticket #3961: memory_leak.cpp
| File memory_leak.cpp, 314 bytes (added by , 13 years ago) |
|---|
| Line | |
|---|---|
| 1 | #include <iostream> |
| 2 | |
| 3 | #include <boost/date_time/gregorian/gregorian.hpp> |
| 4 | #include <boost/date_time/posix_time/posix_time.hpp> |
| 5 | |
| 6 | int main() { |
| 7 | boost::posix_time::ptime time(boost::gregorian::date(2002,1,10), |
| 8 | boost::posix_time::time_duration(0,0,0)); |
| 9 | |
| 10 | std::cout << time << std::endl; |
| 11 | return 0; |
| 12 | } |
