new cp_error040: Input of asm node becomes a NULL pointer
[cparser] / parsetest / cp_error040.c
index 37aa285..9f134e6 100644 (file)
@@ -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)
 {