Skip to content

Commit 65d6109

Browse files
committed
Add test case
1 parent 72c056b commit 65d6109

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// RUN: %clang_cc1 -emit-llvm -fopenmp -disable-llvm-passes %s -verify=expected
2+
3+
// expected-error@+2 {{cannot compile this OpenMP dispatch directive yet}}
4+
void a(){
5+
#pragma omp dispatch
6+
a();
7+
}

0 commit comments

Comments
 (0)