summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/experimental/filesystem
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-06-17 22:36:47 +0000
committerEric Fiselier <eric@efcs.ca>2016-06-17 22:36:47 +0000
commit1544e657b202bedc3a08f2418235828190899fd7 (patch)
tree043b095a1849bf424e6920846f756795d31e1c37 /libcxx/test/std/experimental/filesystem
parenta9f09c6245b9078d0719e0fd9d2aba60b39dd3ac (diff)
downloadbcm5719-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.cpp4
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},
OpenPOWER on IntegriCloud