repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
PCH
/
chain-typo-corrections.cpp
blob
4448220bba4ae28ad74704e00c474e376f69f5b1
1
// RUN: %clang_cc1 -verify -chain-include %s %s
2
3
// PR 14044
4
#ifndef PASS1
5
#define PASS1
6
class
S
{
7
void
f
(
struct
Test
);
8
};
9
#else
10
::
Tesy
*
p
;
// expected-error {{did you mean 'Test'}}
11
// expected-note@-4 {{'Test' declared here}}
12
#endif