CPP: Add a reference to the ReturnConstType tests.

This commit is contained in:
Geoffrey White
2018-11-09 13:11:47 +00:00
parent d2f8029625
commit e237507208

View File

@@ -47,3 +47,6 @@ MYCHAR getAMYCHAR(); // FALSE POSITIVE
#define ID(T) T id_ (T x) {return x;}
ID(const char); // FALSE POSITIVE
const float pi = 3.14159626f;
const float &getPiRef() { return pi; } // GOOD