Danny Robson
ff58436a98
clang requires more instantiations than we currently have to exercise their filesystem library.
16 lines
336 B
C++
16 lines
336 B
C++
#include <filesystem>
|
|
#include <iostream>
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
(void)argc;
|
|
(void)argv;
|
|
|
|
// Instantiating a path isn't enough for clang. We need to call a method
|
|
// implemented in the external library; like 'stem'.
|
|
std::filesystem::path p { "foo" };
|
|
std::cout << p.stem () << '\n';
|
|
return 0;
|
|
}
|