diff --git a/clang/unittests/AST/OMPStructuredBlockTest.cpp b/clang/unittests/AST/OMPStructuredBlockTest.cpp index d1138dfe41115..4cb51c0a872c2 100644 --- a/clang/unittests/AST/OMPStructuredBlockTest.cpp +++ b/clang/unittests/AST/OMPStructuredBlockTest.cpp @@ -55,7 +55,7 @@ PrintedOMPStmtMatches(StringRef Code, const T &NodeMatch, StringRef ExpectedPrinted, PolicyAdjusterType PolicyAdjuster = None) { std::vector Args = { - "-fopenmp", + "-fopenmp=libomp", }; return PrintedStmtMatches(Code, Args, NodeMatch, ExpectedPrinted, PolicyAdjuster);