Skip to content

Commit dcd7516

Browse files
committed
Add 64-bit mode check for Issue205 test
1 parent 8be959b commit dcd7516

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: test/test_cpp.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -1679,6 +1679,12 @@ TEST(KiwiCpp, IssueP189)
16791679

16801680
TEST(KiwiCpp, Issue205)
16811681
{
1682+
if (sizeof(void*) != 8)
1683+
{
1684+
std::cerr << "This test is only available in 64-bit mode" << std::endl;
1685+
return;
1686+
}
1687+
16821688
KiwiBuilder builder{ MODEL_PATH, 0, BuildOption::default_, };
16831689
builder.addWord(u"함박 스테이크");
16841690
auto kiwi1 = builder.build();

0 commit comments

Comments
 (0)