summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/auto/cplusplus/preprocessor/tst_preprocessor.cpp158
1 files changed, 79 insertions, 79 deletions
diff --git a/tests/auto/cplusplus/preprocessor/tst_preprocessor.cpp b/tests/auto/cplusplus/preprocessor/tst_preprocessor.cpp
index 9cc7ecda61..13d85d8a5b 100644
--- a/tests/auto/cplusplus/preprocessor/tst_preprocessor.cpp
+++ b/tests/auto/cplusplus/preprocessor/tst_preprocessor.cpp
@@ -1148,18 +1148,18 @@ void tst_Preprocessor::comments_within_data()
"# 8 \"<stdin>\"\n"
"x = 10\n"
) << _(
- "# 1 \"<stdin>\"\n"
- "\n"
- "\n"
- " // comment\n"
- " // comment\n"
- " // comment\n"
- " // comment\n"
- "# expansion begin 76,3 ~3\n"
- "int x;\n"
- "# expansion end\n"
- "# 8 \"<stdin>\"\n"
- "x = 10\n"
+ "# 1 \"<stdin>\"\n"
+ "\n"
+ "\n"
+ " // comment\n"
+ " // comment\n"
+ " // comment\n"
+ " // comment\n"
+ "# expansion begin 76,3 ~3\n"
+ "int x;\n"
+ "# expansion end\n"
+ "# 8 \"<stdin>\"\n"
+ "x = 10\n"
);
QTest::newRow("case 2") << _(
@@ -1185,18 +1185,18 @@ void tst_Preprocessor::comments_within_data()
"# 8 \"<stdin>\"\n"
"x = 10\n"
) << _(
- "# 1 \"<stdin>\"\n"
- "\n"
- "\n"
- " /* comment\n"
- " comment\n"
- " comment\n"
- " comment */\n"
- "# expansion begin 79,3 ~3\n"
- "int x;\n"
- "# expansion end\n"
- "# 8 \"<stdin>\"\n"
- "x = 10\n"
+ "# 1 \"<stdin>\"\n"
+ "\n"
+ "\n"
+ " /* comment\n"
+ " comment\n"
+ " comment\n"
+ " comment */\n"
+ "# expansion begin 79,3 ~3\n"
+ "int x;\n"
+ "# expansion end\n"
+ "# 8 \"<stdin>\"\n"
+ "x = 10\n"
);
QTest::newRow("case 3") << _(
@@ -1224,20 +1224,20 @@ void tst_Preprocessor::comments_within_data()
"# 10 \"<stdin>\"\n"
"x = 10\n"
) << _(
- "# 1 \"<stdin>\"\n"
- "\n"
- "\n"
- " // comment\n"
- " // comment\n"
- " // comment\n"
- " // comment\n"
- "# expansion begin 76,3 ~3\n"
- "int x;\n"
- "# expansion end\n"
- "# 8 \"<stdin>\"\n"
- "// test\n"
- "// test again\n"
- "x = 10\n"
+ "# 1 \"<stdin>\"\n"
+ "\n"
+ "\n"
+ " // comment\n"
+ " // comment\n"
+ " // comment\n"
+ " // comment\n"
+ "# expansion begin 76,3 ~3\n"
+ "int x;\n"
+ "# expansion end\n"
+ "# 8 \"<stdin>\"\n"
+ "// test\n"
+ "// test again\n"
+ "x = 10\n"
);
QTest::newRow("case 4") << _(
@@ -1265,20 +1265,20 @@ void tst_Preprocessor::comments_within_data()
"# 10 \"<stdin>\"\n"
"x = 10\n"
) << _(
- "# 1 \"<stdin>\"\n"
- "\n"
- "\n"
- " /* comment\n"
- " comment\n"
- " comment\n"
- " comment */\n"
- "# expansion begin 79,3 ~3\n"
- "int x;\n"
- "# expansion end\n"
- "# 8 \"<stdin>\"\n"
- "/* \n"
- "*/\n"
- "x = 10\n"
+ "# 1 \"<stdin>\"\n"
+ "\n"
+ "\n"
+ " /* comment\n"
+ " comment\n"
+ " comment\n"
+ " comment */\n"
+ "# expansion begin 79,3 ~3\n"
+ "int x;\n"
+ "# expansion end\n"
+ "# 8 \"<stdin>\"\n"
+ "/* \n"
+ "*/\n"
+ "x = 10\n"
);
QTest::newRow("case 5") << _(
@@ -1299,14 +1299,14 @@ void tst_Preprocessor::comments_within_data()
"# expansion end\n"
"# 8 \"<stdin>\"\n"
) << _(
- "# 1 \"<stdin>\"\n"
- "\n"
- "\n"
- "void foo() {\n"
- "# expansion begin 57,3 ~4 4:7 ~5 6:7 7:0 ~2\n"
- "{ (void)10; (void)/*comment*/ 12}; }\n"
- "# expansion end\n"
- "# 8 \"<stdin>\"\n"
+ "# 1 \"<stdin>\"\n"
+ "\n"
+ "\n"
+ "void foo() {\n"
+ "# expansion begin 57,3 ~4 4:7 ~5 6:7 7:0 ~2\n"
+ "{ (void)10; (void)/*comment*/ 12}; }\n"
+ "# expansion end\n"
+ "# 8 \"<stdin>\"\n"
);
QTest::newRow("case 6") << _(
@@ -1327,14 +1327,14 @@ void tst_Preprocessor::comments_within_data()
"# expansion end\n"
"# 8 \"<stdin>\"\n"
) << _(
- "# 1 \"<stdin>\"\n"
- "\n"
- "\n"
- "void foo() {\n"
- "# expansion begin 57,3 ~4 4:7 ~5 6:7 7:0 ~2\n"
- "{ (void)10; (void)/*tricky*|comment*/ 12}; }\n"
- "# expansion end\n"
- "# 8 \"<stdin>\"\n"
+ "# 1 \"<stdin>\"\n"
+ "\n"
+ "\n"
+ "void foo() {\n"
+ "# expansion begin 57,3 ~4 4:7 ~5 6:7 7:0 ~2\n"
+ "{ (void)10; (void)/*tricky*|comment*/ 12}; }\n"
+ "# expansion end\n"
+ "# 8 \"<stdin>\"\n"
);
QTest::newRow("case 7") << _(
@@ -1356,17 +1356,17 @@ void tst_Preprocessor::comments_within_data()
" ) {}\n"
"}\n"
) << _(
- "# 1 \"<stdin>\"\n"
- "\n"
- "\n"
- "void foo() {\n"
- " if (\n"
- "# expansion begin 68,3 ~5\n"
- "(1 == 0)\n"
- "# expansion end\n"
- "# 4 \"<stdin>\"\n"
- " ) {}\n"
- "}\n"
+ "# 1 \"<stdin>\"\n"
+ "\n"
+ "\n"
+ "void foo() {\n"
+ " if (\n"
+ "# expansion begin 68,3 ~5\n"
+ "(1 == 0)\n"
+ "# expansion end\n"
+ "# 4 \"<stdin>\"\n"
+ " ) {}\n"
+ "}\n"
);
}