Fix initialization of test case array in C++11

llvm-svn: 273065
This commit is contained in:
Eric Fiselier 2016-06-17 22:36:47 +00:00
parent a9f09c6245
commit 1544e657b2
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ TEST_CASE(test_canonical)
struct TestCase {
path p;
path expect;
path base = StaticEnv::Root;
path base;
TestCase(path p1, path e, path b = StaticEnv::Root)
: p(p1), expect(e), base(b) {}
};
const TestCase testCases[] = {
{ ".", Root, Root},