blob: 1fca4132b87fb95445c36f2286bfae6d43077dc1 [file] [log] [blame]
// PR c++/65091
// { dg-do compile { target c++11 } }
template<typename T>
auto foo(T x) -> decltype(~x) {
return ~x;
}
int bar() {
return foo(10);
}