projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix parsing of function declarations with redundant parentheses around the declarator...
[cparser]
/
parsetest
/
cp_error040.c
diff --git
a/parsetest/cp_error040.c
b/parsetest/cp_error040.c
index
9f134e6
..
1c66d8f
100644
(file)
--- a/
parsetest/cp_error040.c
+++ b/
parsetest/cp_error040.c
@@
-1,12
+1,11
@@
-long
lrint (double x
)
+long
ret42(void
)
{
long retval;
- __asm__ __volatile__
- ("fistpl %0" : "=m" (retval) : "t" (x) : "st");
+ __asm__("movl $42, %0" : "=m" (retval));
return retval;
}
int main(void)
{
- return
0
;
+ return
ret42() != 42
;
}