projects
/
nestedvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updgrade to gcc 3.3.6
[nestedvm.git]
/
src
/
tests
/
Simple.c
diff --git
a/src/tests/Simple.c
b/src/tests/Simple.c
index
bb8452e
..
c943264
100644
(file)
--- a/
src/tests/Simple.c
+++ b/
src/tests/Simple.c
@@
-1,9
+1,10
@@
-#include <string.h>
+#include <math.h>
-char *a = "bar";
-
-volatile char buf[] = "Hello World";
+double d = -1.23;
int _start() {
int _start() {
- return strlen("foo");
+ int n;
+ d = fabs(d);
+ n = (int)(d*100);
+ return n;;
}
}