test: add test for multiple translation unit

This commit is contained in:
ToruNiina
2019-03-18 12:39:58 +09:00
parent 227688ec63
commit d5369c3429
3 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
#include <toml.hpp>
int read_a(const toml::table& t)
{
return toml::get<int>(t.at("a"));
}