summaryrefslogtreecommitdiffstats
path: root/libacc/tests
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-07-06 12:18:49 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-07-06 12:18:49 -0700
commit32a0056ff2a968a8a259dacd5d75fd2c22611e92 (patch)
treeb2042aeb0cd37bbf23fa757990b43bc176d4a893 /libacc/tests
parenta5c234ef0c83357b9b66d0fdfb31313750d37901 (diff)
parent95727a0b057fb6d7117e70cf0e9621892ec781c3 (diff)
downloadsystem_core-32a0056ff2a968a8a259dacd5d75fd2c22611e92.zip
system_core-32a0056ff2a968a8a259dacd5d75fd2c22611e92.tar.gz
system_core-32a0056ff2a968a8a259dacd5d75fd2c22611e92.tar.bz2
Merge changes 6249,6250
* changes: Initial support for float, double. Implement our hard casts using our type system.
Diffstat (limited to 'libacc/tests')
-rw-r--r--libacc/tests/data/double.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libacc/tests/data/double.c b/libacc/tests/data/double.c
new file mode 100644
index 0000000..5bc20a3
--- /dev/null
+++ b/libacc/tests/data/double.c
@@ -0,0 +1,7 @@
+double atof(char *nptr);
+
+int main() {
+ printf("Value = %g\n", atof("10.42"));
+ return 0;
+}
+