test/com/google/javascript/jscomp/ProcessClosurePrimitivesTest.java
// Tests that a requireType of additional code generates no error.
Tests that a requireType of additional code generates no error.
Tests that a requireType of additional code generates no error .
public void testRequireTypeOfAdditionalProvide() {
    additionalCode = "goog.provide('b.B'); b.B = {};";
    test(
        "goog.requireType('b.B'); goog.provide('a.A'); a.A = {};",
        "/** @const */ var b={};b.B={}; /** @const */ var a={};a.A={};");
  }
public void testRequireTypeOfAdditionalProvide ( ) { additionalCode = "goog.provide('b.B'); b.B = {};" ; test ( "goog.requireType('b.B'); goog.provide('a.A'); a.A = {};" , "/** @const */ var b={};b.B={}; /** @const */ var a={};a.A={};" ) ; }
Tests that a requireType of additional code generates no error.
Tests that a requireType of additional code generates no error .