Rename func to funk in tests to avoid Go keyword problems

This commit is contained in:
William S Fulton 2017-06-16 19:13:58 +01:00
commit 95e8643d70
16 changed files with 25 additions and 29 deletions

View file

@ -51,7 +51,7 @@ int glob = 123;
Thingy &&globalrrval = Thingy(55, std::move(glob));
short && func(short &&i) { return std::move(i); }
short && funk(short &&i) { return std::move(i); }
Thingy getit() { return Thingy(22, std::move(glob)); }
void rvalrefFunction1(int &&v = (int &&)5) {}