URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* Test for warnings for Y2K problems not being on by default. */
|
/* Test for warnings for Y2K problems not being on by default. */
|
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
|
/* Origin: Joseph Myers <jsm28@cam.ac.uk> */
|
/* { dg-do compile { target { *-*-mingw* } } } */
|
/* { dg-do compile { target { *-*-mingw* } } } */
|
/* { dg-options "-std=gnu99 -Wformat" } */
|
/* { dg-options "-std=gnu99 -Wformat" } */
|
|
|
#define USE_SYSTEM_FORMATS
|
#define USE_SYSTEM_FORMATS
|
#include "format.h"
|
#include "format.h"
|
|
|
void
|
void
|
foo (char *s, size_t m, const struct tm *tp)
|
foo (char *s, size_t m, const struct tm *tp)
|
{
|
{
|
strftime (s, m, "%y%c%x", tp);
|
strftime (s, m, "%y%c%x", tp);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.