Skip to content

Commit 25553f7

Browse files
committed
Add newline after 'module;' to be valid C++
1 parent 7a75927 commit 25553f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Lex/DependencyDirectivesScannerTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@ ort \
11221122
)";
11231123
ASSERT_FALSE(
11241124
minimizeSourceToDependencyDirectives(Source, Out, Tokens, Directives));
1125-
EXPECT_STREQ("module;#include \"textual-header.h\"\nexport module m;"
1125+
EXPECT_STREQ("module\n;#include \"textual-header.h\"\nexport module m;"
11261126
"exp\\\nort import:l[[rename]];"
11271127
"import<<=3;import a b d e d e f e;"
11281128
"import foo[[no_unique_address]];import foo();"

0 commit comments

Comments
 (0)