From f4aaa76639a9a70749d690e10e3c18420f592faf Mon Sep 17 00:00:00 2001 From: Alexander Mai Date: Sat, 28 Nov 2015 16:50:12 +0100 Subject: [PATCH] Fix compile error with clang --- test/testmathlib.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/testmathlib.cpp b/test/testmathlib.cpp index 3dde41fd2..0a9b155e1 100644 --- a/test/testmathlib.cpp +++ b/test/testmathlib.cpp @@ -293,12 +293,6 @@ private: // that is not gcc/clang encoding ASSERT_EQUALS(959657011, MathLib::toLongNumber("'\\u9343'")); ASSERT_EQUALS(1714631779, MathLib::toLongNumber("'\\U0001f34c'")); -#ifdef __GNUC__ - // BEGIN Implementation-specific results - TODO_ASSERT_EQUALS((int)'\u9343', 959657011, MathLib::toLongNumber("'\\u9343'")); - TODO_ASSERT_EQUALS((int)'\U0001f34c', 1714631779, MathLib::toLongNumber("'\\U0001f34c'")); - // END Implementation-specific results -#endif { // some unit-testing for a utility function ASSERT_EQUALS(0, MathLib::characterLiteralToLongNumber(std::string("")));