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
/
Inputs
/
pch-no-hdrstop-use.cpp
blob
ec4f96257064d46358a3d9b059ba002f4e0fbce3
1
#include
"Inputs/pch-through1.h"
2
static int
bar
() {
return
42
; }
3
#include
"Inputs/pch-through2.h"
4
int
pch
();
5
#pragma hdrstop
6
7
//expected-no-diagnostics
8
int
main
()
9
{
10
return
pch
() +
through1
(
0
) +
through2
(-
1
) +
bar
() -
42
;
11
}