| Index: third_party/WebKit/Source/wtf/TypeTraitsTest.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/TypeTraits.cpp b/third_party/WebKit/Source/wtf/TypeTraitsTest.cpp
|
| similarity index 98%
|
| rename from third_party/WebKit/Source/wtf/TypeTraits.cpp
|
| rename to third_party/WebKit/Source/wtf/TypeTraitsTest.cpp
|
| index 9b8c10352f5621e19698769b6940772598cf8b8a..12fec336318e09017a29f60baf81d8ae0be5e4ea 100644
|
| --- a/third_party/WebKit/Source/wtf/TypeTraits.cpp
|
| +++ b/third_party/WebKit/Source/wtf/TypeTraitsTest.cpp
|
| @@ -23,8 +23,12 @@
|
|
|
| #include "wtf/Noncopyable.h"
|
|
|
| +// No gtest tests; only static_assert checks.
|
| +
|
| namespace WTF {
|
|
|
| +namespace {
|
| +
|
| struct VirtualClass {
|
| virtual void A() { }
|
| };
|
| @@ -99,4 +103,6 @@ static_assert((IsSubclassOfTemplate<TestDerivedClass, TestBaseClass>::value), "D
|
| typedef int IntArray[];
|
| typedef int IntArraySized[4];
|
|
|
| +} // anonymous namespace
|
| +
|
| } // namespace WTF
|
|
|