blob: ee60ec6e219297e4936ce2114b7ce431ba2b0440 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// RUN: %clang_analyze_cc1 -load %llvmshlibdir/SampleAnalyzerPlugin%pluginext -analyzer-checker='example.MainCallChecker' -verify %s
// REQUIRES: plugins, examples
// Test that the MainCallChecker example analyzer plugin loads and runs.
int main();
void caller() {
main(); // expected-warning {{call to main}}
}
|