C++11 detection on a per-feature basis via BSD-licensed CMake scripts (that will...
[dyninst.git] / cmake / CheckCXX11Features / cxx11-test-auto_ret_type.cpp
1 auto foo(int i) -> int {
2         return i - 1;
3 }
4
5 int main()
6 {
7         return foo(1);
8 }