Index: tools/clang/plugins/tests/enum_last_value.txt |
diff --git a/tools/clang/plugins/tests/enum_last_value.txt b/tools/clang/plugins/tests/enum_last_value.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d9e51d03917204de51c7b9a42c0b00404e867fd |
--- /dev/null |
+++ b/tools/clang/plugins/tests/enum_last_value.txt |
@@ -0,0 +1,7 @@ |
+enum_last_value.cpp:11:3: warning: [chromium-style] _LAST/Last constants of enum types must have the maximal value for any constant of that type. |
+ kBadOneLast = kBadOneGreen |
+ ^ |
+enum_last_value.cpp:20:3: warning: [chromium-style] _LAST/Last constants of enum types must have the maximal value for any constant of that type. |
+ BAD_TWO_LAST = BAD_TWO_GREEN |
+ ^ |
+2 warnings generated. |