Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/source_date_epoch-3.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR preprocessor/71183 */ /* { dg-do preprocess } */ /* { dg-set-compiler-env-var SOURCE_DATE_EPOCH "630333296" } */ const char *date = __DATE__; const char *time = __TIME__; /* { dg-final { scan-file source_date_epoch-3.i "Dec 22 1989" } } */ /* { dg-final { scan-file source_date_epoch-3.i "12:34:56" } } */