[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / Analysis / diagnostics / invalid-srcloc-fix.cpp
blob0cef5e3d0f04145a18fca84c75cb998ece68483c
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
6 struct h {
7 operator int();
8 };
10 int k() {
11 return h(); // expected-warning 3 {{Statement}}