diff options
Diffstat (limited to 'test/OpenMP/target_parallel_messages.cpp')
-rw-r--r-- | test/OpenMP/target_parallel_messages.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/OpenMP/target_parallel_messages.cpp b/test/OpenMP/target_parallel_messages.cpp index b6763d8f09..a7dfbf91ca 100644 --- a/test/OpenMP/target_parallel_messages.cpp +++ b/test/OpenMP/target_parallel_messages.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -verify -fopenmp -std=c++11 -o - %s // RUN: not %clang_cc1 -fopenmp -std=c++11 -fopenmp-targets=aaa-bbb-ccc-ddd -o - %s 2>&1 | FileCheck %s + +// RUN: %clang_cc1 -verify -fopenmp-simd -std=c++11 -o - %s // CHECK: error: OpenMP target is invalid: 'aaa-bbb-ccc-ddd' void foo() { |