summaryrefslogtreecommitdiff
path: root/tests/bionic/libc/other/test_atomics.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bionic/libc/other/test_atomics.c')
-rw-r--r--tests/bionic/libc/other/test_atomics.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/bionic/libc/other/test_atomics.c b/tests/bionic/libc/other/test_atomics.c
deleted file mode 100644
index 0de2a938..00000000
--- a/tests/bionic/libc/other/test_atomics.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <stdio.h>
-
-
-extern int __atomic_dec(volatile int* addr);
-
-int main(int argc, const char *argv[])
-{
- int x = 5;
-
- while (x > -20) {
- printf("old_x=%d\n", __atomic_dec(&x));
- printf("x=%d\n", x);
- }
-
- printf ("OK\n");
- return 0;
-}