summaryrefslogtreecommitdiffstats
path: root/polly/test/CodeGen/OpenMP/extract_memref.c
diff options
context:
space:
mode:
Diffstat (limited to 'polly/test/CodeGen/OpenMP/extract_memref.c')
-rw-r--r--polly/test/CodeGen/OpenMP/extract_memref.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/polly/test/CodeGen/OpenMP/extract_memref.c b/polly/test/CodeGen/OpenMP/extract_memref.c
new file mode 100644
index 00000000000..fa2e63edb93
--- /dev/null
+++ b/polly/test/CodeGen/OpenMP/extract_memref.c
@@ -0,0 +1,17 @@
+#define N 10
+
+void foo() {
+ float A[N];
+ int i = 0;
+
+ for (i=0; i < N; i++)
+ A[i] = 10;
+
+ return;
+}
+
+
+int main()
+{
+ foo();
+}
OpenPOWER on IntegriCloud