2020-04-16 15:50:32 +09:00
|
|
|
//@ run-fail
|
2017-09-10 01:48:43 +08:00
|
|
|
//@ error-pattern:overflow
|
2025-01-23 16:36:54 +08:00
|
|
|
//@ needs-subprocess
|
2017-09-01 01:16:24 +08:00
|
|
|
|
2017-09-10 01:48:43 +08:00
|
|
|
use std::time::{Duration, SystemTime};
|
2017-09-01 01:16:24 +08:00
|
|
|
|
|
|
|
|
fn main() {
|
2017-09-10 01:48:43 +08:00
|
|
|
let now = SystemTime::now();
|
2020-06-02 07:59:11 +00:00
|
|
|
let _ = now - Duration::from_secs(u64::MAX);
|
2017-09-01 01:16:24 +08:00
|
|
|
}
|