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
/
Analysis
/
diagnostics
/
invalid-srcloc-fix.cpp
blob
0cef5e3d0f04145a18fca84c75cb998ece68483c
1
// RUN: %clang_analyze_cc1 -verify %s \
2
// RUN: -analyzer-output=plist -o %t.plist \
3
// RUN: -analyzer-checker=core \
4
// RUN: -analyzer-checker=debug.ReportStmts
5
6
struct
h
{
7
operator
int
();
8
};
9
10
int
k
() {
11
return
h
();
// expected-warning 3 {{Statement}}
12
}