diff --git a/cfg/gnu.cfg b/cfg/gnu.cfg
index fb998dee5ae..0e3ae7f7222 100644
--- a/cfg/gnu.cfg
+++ b/cfg/gnu.cfg
@@ -245,8 +245,6 @@
-
-
false
diff --git a/test/testlibrary.cpp b/test/testlibrary.cpp
index fc5b2f1fda0..1bdc06f5182 100644
--- a/test/testlibrary.cpp
+++ b/test/testlibrary.cpp
@@ -70,6 +70,7 @@ class TestLibrary : public TestFixture {
TEST_CASE(container);
TEST_CASE(version);
TEST_CASE(loadLibErrors);
+ TEST_CASE(loadLibCombinations);
}
static bool loadxmldata(Library &lib, const char xmldata[], std::size_t len)
@@ -1065,6 +1066,13 @@ class TestLibrary : public TestFixture {
// comma followed by dot
LOADLIB_ERROR_INVALID_RANGE("-10:0,.5:");
}
+
+ void loadLibCombinations() const {
+ {
+ const Settings s = settingsBuilder().library("std.cfg").library("gnu.cfg").library("bsd.cfg").build();
+ ASSERT_EQUALS(s.library.defines.empty(), false);
+ }
+ }
};
REGISTER_TEST(TestLibrary)