X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=parsetest%2Fcp_error040.c;h=9f134e6f4343fc846bb8a6420077ec6ddfc0497d;hb=26c9f43fe0592d84d28858587ac124e20b3343d0;hp=37aa28535750a8fc518a4a0b6948bff5af915c08;hpb=2fe7ae3a6abe211c2e8c8a98818864b1dffa4c4c;p=cparser diff --git a/parsetest/cp_error040.c b/parsetest/cp_error040.c index 37aa285..9f134e6 100644 --- a/parsetest/cp_error040.c +++ b/parsetest/cp_error040.c @@ -1,5 +1,10 @@ -extern int a; // this should reference an "a" defined in another file -static int a; +long lrint (double x) +{ + long retval; + __asm__ __volatile__ + ("fistpl %0" : "=m" (retval) : "t" (x) : "st"); + return retval; +} int main(void) {