21
Using Clang 3.5, 3.6, or 3.7, with the flag std=c++1y the following code does not compile :
#include <iostream>
auto foo(auto bar) { return bar; }
int main() {
std::cout << foo(5.0f) << std::endl;
}
The error given is :
error: 'auto' not allowed in function prototype
I do not have erro...