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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits