[clang] 50b51b1 - Fix a typo in an OpenMP test

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue May 3 07:01:57 PDT 2022


Author: Aaron Ballman
Date: 2022-05-03T10:01:46-04:00
New Revision: 50b51b1860acbfb775d5e2eee3310e25c635d667

URL: https://github.com/llvm/llvm-project/commit/50b51b1860acbfb775d5e2eee3310e25c635d667
DIFF: https://github.com/llvm/llvm-project/commit/50b51b1860acbfb775d5e2eee3310e25c635d667.diff

LOG: Fix a typo in an OpenMP test

This fixes the typo and corrects the default OpenMP version being
tested.

Added: 
    

Modified: 
    clang/test/OpenMP/predefined_macro.c

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/predefined_macro.c b/clang/test/OpenMP/predefined_macro.c
index c9722d596d4d6..330dbe34569fe 100644
--- a/clang/test/OpenMP/predefined_macro.c
+++ b/clang/test/OpenMP/predefined_macro.c
@@ -9,7 +9,7 @@
 // -fopenmp option is specified
 #ifndef _OPENMP
 #error "No _OPENMP macro is defined with -fopenmp option"
-#elsif _OPENMP != 201107
+#elif _OPENMP != 201811
 #error "_OPENMP has incorrect value"
 #endif //_OPENMP
 #else


        


More information about the cfe-commits mailing list