20000718-1.c: New test.

2000-07-18  Eric Christopher <echristo@redhat.com>

         * gcc.c-torture/compile/20000718-1.c: New test.

From-SVN: r35236
This commit is contained in:
Eric Christopher 2000-07-24 20:49:51 +00:00
parent 020226e5f2
commit 2339ce57f3
2 changed files with 19 additions and 2 deletions

View File

@ -27,7 +27,7 @@
and "Internal error".
* gcc.dg/cpp/20000625-2.c, gcc.dg/cpp/macsyntx.c: Update error
regexps.
regexps.
* gcc.dg/cpp/paste6.c: New test.
2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
@ -37,6 +37,10 @@
* gcc.dg/cpp/directiv.c, gcc.dg/cpp/macsyntx.c,
gcc.dg/cpp/undef1.c: Tweak error regexps.
2000-07-18 Eric Christopher <echristo@redhat.com>
* gcc.c-torture/compile/20000718-1.c: New test.
2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
* cpplex.c (_cpp_push_token): If the token being pushed back
@ -5365,4 +5369,3 @@ Mon Mar 22 14:28:46 1993 Ian Lance Taylor (ian@cygnus.com)
correspond to c-torture 1.11.
* New file.

View File

@ -0,0 +1,14 @@
extern double foo(double, double);
extern void bar(float*, int*);
void
baz(int* arg)
{
float tmp = (float)foo(2.0,1.0);
unsigned i;
short junk[64];
for (i=0; i<10; i++, arg++) {
bar(&tmp, arg);
}
}