summaryrefslogtreecommitdiffstats
path: root/src/boost/libs/filesystem/test/issues/10485.cpp
blob: 81ba2136d3df1ae5626e6ee4445f3c7c60bab5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//  Copyright iamvfx@gmail.com 2014

//  Distributed under the Boost Software License, Version 1.0.
//  See http://www.boost.org/LICENSE_1_0.txt

#include <stdio.h>
#include <boost/filesystem.hpp>

int main()
{
  boost::filesystem::path dir("/");
  for (char c : dir.filename().string())
    printf("%c\n", c);
}