 internal extension FE_PublicClass {
   // CHECK: /*internal*/ func explicitInternalExt()
   func explicitInternalExt() {}
+  // CHECK: /*internal*/ struct InternalNested {
+  struct InternalNested {
+    // CHECK: /*internal*/ var x
+    var x: Int
+  } // CHECK: }
 } // CHECK: {{^[}]}}
 
 // CHECK-SRC: public

public extension FE_PublicClass {
  // CHECK: /*public*/ func explicitPublicExt()
  func explicitPublicExt() {}
} // CHECK: {{^[}]}}



private extension FE_PublicClass {
  // CHECK: /*private*/ func explicitPrivateExt()
  func explicitPrivateExt() {}
  // CHECK: /*private*/ struct PrivateNested {
  struct PrivateNested {
    // CHECK: /*private*/ var x
    var x: Int
  } // CHECK: }
} // CHECK: {{^[}]}}

// CHECK-SRC: internal
