summaryrefslogtreecommitdiffstats
path: root/test/OpenMP/nvptx_data_sharing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/OpenMP/nvptx_data_sharing.cpp')
-rw-r--r--test/OpenMP/nvptx_data_sharing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OpenMP/nvptx_data_sharing.cpp b/test/OpenMP/nvptx_data_sharing.cpp
index 68245c9aba..634681b2f7 100644
--- a/test/OpenMP/nvptx_data_sharing.cpp
+++ b/test/OpenMP/nvptx_data_sharing.cpp
@@ -34,7 +34,7 @@ void test_ds(){
/// ========= In the kernel function ========= ///
-// CK1: {{.*}}define void @__omp_offloading{{.*}}test_ds{{.*}}()
+// CK1: {{.*}}define weak void @__omp_offloading{{.*}}test_ds{{.*}}()
// CK1: [[SHAREDARGS1:%.+]] = alloca i8**
// CK1: [[SHAREDARGS2:%.+]] = alloca i8**
// CK1: call void @__kmpc_kernel_init