diff --git a/test/com/google/javascript/jscomp/CheckAccessControlsTest.java b/test/com/google/javascript/jscomp/CheckAccessControlsTest.java
index <HASH>..<HASH> 100644
--- a/test/com/google/javascript/jscomp/CheckAccessControlsTest.java
+++ b/test/com/google/javascript/jscomp/CheckAccessControlsTest.java
@@ -1279,6 +1279,18 @@ public class CheckAccessControlsTest extends CompilerTestCase {
         CONVENTION_MISMATCH, true);
   }
 
+  public void testDeclarationAndConventionConflict7() {
+    testSame("/** @public */ var Foo_;", CONVENTION_MISMATCH, true);
+  }
+
+  public void testDeclarationAndConventionConflict8() {
+    testSame("/** @package */ var Foo_;", CONVENTION_MISMATCH, true);
+  }
+
+  public void testDeclarationAndConventionConflict9() {
+    testSame("/** @protected */ var Foo_;", CONVENTION_MISMATCH, true);
+  }
+
   public void testConstantProperty1a() {
     test("/** @constructor */ function A() {" +
         "/** @const */ this.bar = 3;}" +
CheckAccessControlsTest: add 3 tests to document current behavior.

Currently, Closure Compiler issues a warning when a name or property ends in a trailing underscore but is declared to be something other than @private. There are many tests exercising this behavior for properties, but (surprisingly) none for names. This CL adds a few simple cases for names with trailing underscores.
-------------
Created by MOE: <URL>