From 3e8c945bdc731fb7c9eaff0007abc02bfa1e5c37 Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Tue, 2 Aug 2011 13:41:37 -0300 Subject: Added compilation test for value type argument in a lshift operator. --- tests/libsample/echo.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/libsample/echo.h b/tests/libsample/echo.h index 92038b1f0..187518859 100644 --- a/tests/libsample/echo.h +++ b/tests/libsample/echo.h @@ -43,6 +43,7 @@ public: Echo& operator<<(unsigned int item) { return *this; } Echo& operator<<(signed int item) { return *this; } Echo& operator<<(const ObjectType* item) { return *this; } + Echo& operator<<(Str str) { return *this; } }; #endif -- cgit v1.2.3