]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Analysis/diagnostics/diag-cross-file-boundaries.c
Vendor import of clang trunk r300422:
[FreeBSD/FreeBSD.git] / test / Analysis / diagnostics / diag-cross-file-boundaries.c
1 // RUN: %clang_analyze_cc1 -analyzer-checker=core -verify %s
2 // RUN: %clang_analyze_cc1 -analyzer-checker=core -analyzer-output=html -o PR12421.html %s 2>&1 | FileCheck %s
3
4 // Test for PR12421
5 #include "diag-cross-file-boundaries.h"
6
7 int main(){
8   f();
9   return 0;
10 }
11
12 // CHECK: warning: Path diagnostic report is not generated.