Skip to content

Commit 6148b3d

Browse files
committed
add test
1 parent 07093ce commit 6148b3d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

test/testpreprocessor.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ class TestPreprocessor : public TestFixture {
362362
TEST_CASE(standard);
363363

364364
TEST_CASE(writeLocations);
365+
366+
TEST_CASE(pragmaAsm);
365367
}
366368

367369
template<size_t size>
@@ -2773,6 +2775,12 @@ class TestPreprocessor : public TestFixture {
27732775
"} ;",
27742776
processed);
27752777
}
2778+
2779+
void pragmaAsm()
2780+
{
2781+
const char code[] = "#pragma asm";
2782+
const std::string processed = getcodeforcfg(settingsDefault, *this, code, "", "test.cpp");
2783+
}
27762784
};
27772785

27782786
REGISTER_TEST(TestPreprocessor)

0 commit comments

Comments
 (0)