summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/lib/oeqa/files/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'import-layers/yocto-poky/meta/lib/oeqa/files/test.c')
-rw-r--r--import-layers/yocto-poky/meta/lib/oeqa/files/test.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/import-layers/yocto-poky/meta/lib/oeqa/files/test.c b/import-layers/yocto-poky/meta/lib/oeqa/files/test.c
deleted file mode 100644
index 2d8389c92..000000000
--- a/import-layers/yocto-poky/meta/lib/oeqa/files/test.c
+++ /dev/null
@@ -1,26 +0,0 @@
-#include <stdio.h>
-#include <math.h>
-#include <stdlib.h>
-
-double convert(long long l)
-{
- return (double)l;
-}
-
-int main(int argc, char * argv[]) {
-
- long long l = 10;
- double f;
- double check = 10.0;
-
- f = convert(l);
- printf("convert: %lld => %f\n", l, f);
- if ( f != check ) exit(1);
-
- f = 1234.67;
- check = 1234.0;
- printf("floorf(%f) = %f\n", f, floorf(f));
- if ( floorf(f) != check) exit(1);
-
- return 0;
-}
OpenPOWER on IntegriCloud