summaryrefslogtreecommitdiff
path: root/polly/lib/External/ppcg/tests/struct3.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/External/ppcg/tests/struct3.c')
-rw-r--r--polly/lib/External/ppcg/tests/struct3.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/polly/lib/External/ppcg/tests/struct3.c b/polly/lib/External/ppcg/tests/struct3.c
deleted file mode 100644
index de383b65cdf2..000000000000
--- a/polly/lib/External/ppcg/tests/struct3.c
+++ /dev/null
@@ -1,25 +0,0 @@
-#include <stdlib.h>
-
-struct s {
- int a;
- int b;
-};
-
-int main()
-{
- struct s a, b[10];
-
- a.b = 57;
-#pragma scop
- a.a = 42;
- for (int i = 0; i < 10; ++i)
- b[i] = a;
-#pragma endscop
- for (int i = 0; i < 10; ++i)
- if (b[i].a != 42)
- return EXIT_FAILURE;
- if (a.b != 57)
- return EXIT_FAILURE;
-
- return EXIT_SUCCESS;
-}