"auto not allowed in function return type" build failure(s) — clang 5.0

This code will fail to build with clang++ with the default args:
auto k() -> auto;
# Works:
$ g++ -c foo.cpp

# Fails
$ clang++ -std=c++11 foo.cpp
foo.cpp:1:13: error: 'auto' not allowed in function return type
auto k() -> auto;
            ^~~~
1 error generated.


# Works
$ g++ -std=c++11 foo.cpp

PackageVersionSupposed error messageFull log Bug report
ants 2.1.0-5vnl_math.h:159:5: error: 'auto' not allowed in function return type Log
elastix 4.8-12vnl_math.h:159:5: error: 'auto' not allowed in function return type Log
itksnap 3.6.0-1vnl_math.h:159:5: error: 'auto' not allowed in function return type Log
nifti2dicom 0.4.11-1vnl_math.h:159:5: error: 'auto' not allowed in function return type Log

4 errors