 public extension FE_PublicClass {
   // CHECK: /*public*/ func explicitPublicExt()
   func explicitPublicExt() {}
+  // CHECK: /*public*/ struct PublicNested {
+  struct PublicNested {
+    // CHECK: /*internal*/ var x
+    var x: Int
+  } // CHECK: }
 } // CHECK: {{^[}]}}
 
 

private extension FE_PublicClass {
  // CHECK: /*private*/ func explicitPrivateExt()
  func explicitPrivateExt() {}
} // CHECK: {{^[}]}}

// CHECK-SRC: internal

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
