summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/no_option.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpenMP/no_option.c')
-rw-r--r--test/OpenMP/no_option.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/OpenMP/no_option.c b/test/OpenMP/no_option.c
new file mode 100644
index 0000000..4acc8d0
--- /dev/null
+++ b/test/OpenMP/no_option.c
@@ -0,0 +1,6 @@
+// RUN: %clang_cc1 -verify -o - %s
+// expected-no-diagnostics
+
+int a;
+#pragma omp threadprivate(a,b)
+#pragma omp parallel
OpenPOWER on IntegriCloud