aboutsummaryrefslogtreecommitdiffstats
path: root/test/aarch64/c/wloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/aarch64/c/wloop.c')
-rw-r--r--test/aarch64/c/wloop.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/aarch64/c/wloop.c b/test/aarch64/c/wloop.c
new file mode 100644
index 00000000..5ba67419
--- /dev/null
+++ b/test/aarch64/c/wloop.c
@@ -0,0 +1,8 @@
+int main(int x)
+{
+ int y = 4;
+ int s = 23;
+ while(s < x)
+ y << s;
+ return y;
+}