Sign in
llvm
/
clang
/
7d0e090bbc61baebf0be18e4d9ba36615b6cd566
/
.
/
test
/
PCH
/
chain-typo-corrections.cpp
blob: 4448220bba4ae28ad74704e00c474e376f69f5b1 [
file
] [
log
] [
blame
]
// 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