[clang] 51ca3cb - Correct typo in a test

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Fri May 9 08:25:50 PDT 2025


Author: Aaron Ballman
Date: 2025-05-09T11:25:41-04:00
New Revision: 51ca3cbb2b91a0361620248b6e3e22da1a68eb69

URL: https://github.com/llvm/llvm-project/commit/51ca3cbb2b91a0361620248b6e3e22da1a68eb69
DIFF: https://github.com/llvm/llvm-project/commit/51ca3cbb2b91a0361620248b6e3e22da1a68eb69.diff

LOG: Correct typo in a test

I made the change locally but didn't save the file before pushing. :-(

Added: 
    

Modified: 
    clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp b/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp
index 72d8e33173d71..4f146e562db44 100644
--- a/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp
+++ b/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp
@@ -108,7 +108,7 @@ int main(int argc, char **argv) {
 
 namespace GH139266 {
 void f(void) {
-#pragma omp distribute dist_schedule(static, 0) // expected-error {[argument to 'dist_schedule' clause must be a strictly positive integer value}}
+#pragma omp distribute dist_schedule(static, 0) // expected-error {{argument to 'dist_schedule' clause must be a strictly positive integer value}}
   for (int i = 0; i < 10; i++)
     ;
 }


        


More information about the cfe-commits mailing list