summaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c')
-rw-r--r--libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c b/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c
index beca8555780..6d4bc4fac12 100644
--- a/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c
+++ b/libgomp/testsuite/libgomp.c/examples-4/declare_target-1.c
@@ -20,7 +20,7 @@ int fib_wrapper (int n)
{
int x = 0;
- #pragma omp target if(n > THRESHOLD)
+ #pragma omp target if(n > THRESHOLD) map(from:x)
x = fib (n);
return x;