diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index 4cc9485..2a06041 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -18,6 +18,7 @@ project test-suite "filesystem" : [ run convenience_test.cpp ] [ compile macro_default_test.cpp ] + [ run odr1_test.cpp odr2_test.cpp ] [ run deprecated_test.cpp ] [ run fstream_test.cpp ] [ run large_file_support_test.cpp ] diff --git a/test/msvc/filesystem.sln b/test/msvc/filesystem.sln index 2501092..59d7844 100644 --- a/test/msvc/filesystem.sln +++ b/test/msvc/filesystem.sln @@ -119,6 +119,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "recurse_dir_iter_test", "re {FFD738F7-96F0-445C-81EA-551665EF53D1} = {FFD738F7-96F0-445C-81EA-551665EF53D1} EndProjectSection EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "odr_test", "odr_test\odr_test.vcxproj", "{1F1C209D-105B-4C8A-8DFC-ABCC4D9A0014}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -245,6 +247,10 @@ Global {C6594EC2-1BDA-41A1-B2C0-7FB8AE713CF8}.Debug|Win32.Build.0 = Debug|Win32 {C6594EC2-1BDA-41A1-B2C0-7FB8AE713CF8}.Release|Win32.ActiveCfg = Release|Win32 {C6594EC2-1BDA-41A1-B2C0-7FB8AE713CF8}.Release|Win32.Build.0 = Release|Win32 + {1F1C209D-105B-4C8A-8DFC-ABCC4D9A0014}.Debug|Win32.ActiveCfg = Debug|Win32 + {1F1C209D-105B-4C8A-8DFC-ABCC4D9A0014}.Debug|Win32.Build.0 = Debug|Win32 + {1F1C209D-105B-4C8A-8DFC-ABCC4D9A0014}.Release|Win32.ActiveCfg = Release|Win32 + {1F1C209D-105B-4C8A-8DFC-ABCC4D9A0014}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/test/msvc/odr_test/odr_test.vcxproj b/test/msvc/odr_test/odr_test.vcxproj new file mode 100644 index 0000000..c3eb0ff --- /dev/null +++ b/test/msvc/odr_test/odr_test.vcxproj @@ -0,0 +1,97 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + + {1F1C209D-105B-4C8A-8DFC-ABCC4D9A0014} + Win32Proj + odr_test + + + + Application + true + v120 + Unicode + + + Application + false + v120 + true + Unicode + + + + + + + + + + + + + + + true + + + false + + + + + + Level3 + Disabled + WIN32;_DEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + + + + + Level3 + + + MaxSpeed + true + true + WIN32;NDEBUG;_CONSOLE;_LIB;%(PreprocessorDefinitions) + true + + + Console + true + true + true + + + + + + + + + {ffd738f7-96f0-445c-81ea-551665ef53d1} + + + {f94ccadd-a90b-480c-a304-c19d015d36b1} + + + + + + \ No newline at end of file diff --git a/test/odr1_test.cpp b/test/odr1_test.cpp new file mode 100644 index 0000000..4d73e18 --- /dev/null +++ b/test/odr1_test.cpp @@ -0,0 +1,24 @@ +// Boost Filesystem odr1_test.cpp ----------------------------------------------------// + +// Copyright Beman Dawes 2014. + +// Distributed under the Boost Software License, Version 1.0. +// See http://www.boost.org/LICENSE_1_0.txt + +// Library home page: http://www.boost.org/libs/filesystem + +#include + +namespace boost +{ + namespace filesystem + { + void tu2(); + } +} + +int main() +{ + boost::filesystem::tu2(); + return 0; +} diff --git a/test/odr2_test.cpp b/test/odr2_test.cpp new file mode 100644 index 0000000..948666b --- /dev/null +++ b/test/odr2_test.cpp @@ -0,0 +1,18 @@ +// Boost Filesystem odr2_test.cpp ----------------------------------------------------// + +// Copyright Beman Dawes 2014. + +// Distributed under the Boost Software License, Version 1.0. +// See http://www.boost.org/LICENSE_1_0.txt + +// Library home page: http://www.boost.org/libs/filesystem + +#include + +namespace boost +{ + namespace filesystem + { + void tu2() {} + } +}