Index: tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
diff --git a/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc b/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
index e0f87b1b685388b8d0cf68da6b75af3e06681277..e59d5328f82e21b99a6d019bfa36c690bf075bed 100644 |
--- a/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
+++ b/tools/clang/rewrite_to_chrome_style/tests/fields-expected.cc |
@@ -153,6 +153,13 @@ struct GenericHashTraitsBase { |
static const int kWeakHandlingFlag = TypeTrait2<T>::value ? 123 : 456; |
}; |
+template <int Format> |
+struct IntermediateFormat { |
+ // Some type traits have int type. Example below is loosely based on |
+ // third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp |
+ static const int value = (Format == 123) ? 456 : 789; |
+}; |
+ |
}; // namespace WTF |
void F() { |