// Test that infinite loop in rdar://10418538 was fixed.
// Without PCH
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class -include %s -include %s %s
// With PCH
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s -chain-include %s -chain-include %s
//===----------------------------------------------------------------------===//
// Primary header
@class I;
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
// Dependent header
//===----------------------------------------------------------------------===//
//===----------------------------------------------------------------------===//
// expected-note@30 {{receiver is instance of class declared here}}
void
//===----------------------------------------------------------------------===//