// RUN: %clang_cc1 -verify -chain-include %s %s

// PR 14044
#ifndef PASS1
#define PASS1
class S {
  void f(struct Test);
};
#else
::Tesy *p;  // expected-error {{did you mean 'Test'}}
            // expected-note@-4 {{'Test' declared here}}
#endif

Add the test case from PR 14044 to ensure it doesn't regress.
Add the test case from PR 14044 to ensure it doesn't regress.

The test started working at some point, presumably fixed through the
delayed typo correction work.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@236883 91177308-0d34-0410-b5e6-96231b3b80d8
