diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-06-17 22:36:47 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-06-17 22:36:47 +0000 |
commit | 1544e657b202bedc3a08f2418235828190899fd7 (patch) | |
tree | 043b095a1849bf424e6920846f756795d31e1c37 /libcxx/test/std/experimental/filesystem | |
parent | a9f09c6245b9078d0719e0fd9d2aba60b39dd3ac (diff) | |
download | bcm5719-llvm-1544e657b202bedc3a08f2418235828190899fd7.tar.gz bcm5719-llvm-1544e657b202bedc3a08f2418235828190899fd7.zip |
Fix initialization of test case array in C++11
llvm-svn: 273065
Diffstat (limited to 'libcxx/test/std/experimental/filesystem')
-rw-r--r-- | libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/canonical.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/canonical.pass.cpp b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/canonical.pass.cpp index 6b114d0e40a..407f5b111a8 100644 --- a/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/canonical.pass.cpp +++ b/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.canonical/canonical.pass.cpp @@ -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}, |