aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/test3.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2023-06-10 14:22:03 +0200
committerlemon <lsof@mailbox.org>2023-06-10 14:22:03 +0200
commit5ac04c7a3ec11d939a3773876b6924e1ae39f1a5 (patch)
tree28712d39b25ee80bc971cced1d2cba8387694412 /test/test3.c
parent22e20cf906fa3904eedfe34efc58a7b56116ce42 (diff)
isel skeleton
Diffstat (limited to 'test/test3.c')
-rw-r--r--test/test3.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/test3.c b/test/test3.c
index 6940d1b..e6599bb 100644
--- a/test/test3.c
+++ b/test/test3.c
@@ -4,6 +4,20 @@ int test1(int a, int b, int c) {
}
*/
-int t(int *p, int i) {
+int t(unsigned short *p, short i) {
return p[i];
}
+
+#if 1
+long test(long x) {
+ return x + (long)"abc";
+}
+#endif
+
+double ff(double x, double y)
+{
+ return x + y + .5;
+}
+
+long fma(long x, long y) {
+return x + (y <<1) - 2147483648;}