| 1 |
! { dg-do compile } |
| 2 |
! { dg-options "-Wdate-time" } |
| 3 |
print *, __TIMESTAMP__ ! { dg-warning "might prevent reproducible builds" } |
| 4 |
print *, __TIME__ ! { dg-warning "might prevent reproducible builds" } |
| 5 |
print *, __DATE__ ! { dg-warning "might prevent reproducible builds" } |
| 6 |
end |