mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-09 00:27:37 +08:00
* gcc.c-torture/execute/20000112-1.c: New test.
From-SVN: r31378
This commit is contained in:
parent
e886c40fa3
commit
7a2a27a50a
@ -1,3 +1,7 @@
|
||||
Wed Jan 12 20:26:58 2000 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* gcc.c-torture/execute/20000112-1.c: New test.
|
||||
|
||||
2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
|
||||
|
||||
* gcc.dg/20000111-1.c: New test.
|
||||
|
19
gcc/testsuite/gcc.c-torture/execute/20000112-1.c
Normal file
19
gcc/testsuite/gcc.c-torture/execute/20000112-1.c
Normal file
@ -0,0 +1,19 @@
|
||||
static int
|
||||
special_format (fmt)
|
||||
const char *fmt;
|
||||
{
|
||||
return (strchr (fmt, '*') != 0
|
||||
|| strchr (fmt, 'V') != 0
|
||||
|| strchr (fmt, 'S') != 0
|
||||
|| strchr (fmt, 'n') != 0);
|
||||
}
|
||||
|
||||
main()
|
||||
{
|
||||
if (special_format ("ee"))
|
||||
abort ();
|
||||
if (!special_format ("*e"))
|
||||
abort ();
|
||||
exit (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user