clang/test/Driver/fdiagnostics-format-sarif.cpp
raw| 1 | // RUN: %clang -fsyntax-only -fdiagnostics-format=sarif %s -### 2>&1 | FileCheck %s --check-prefix=WARN |
| 2 | // WARN: warning: diagnostic formatting in SARIF mode is currently unstable [-Wsarif-format-unstable] |
| 3 | |
| 4 | // RUN: %clang -fsyntax-only -fdiagnostics-format=SARIF %s -### 2>&1 | FileCheck %s --check-prefix=WARN2 |
| 5 | // WARN2: warning: diagnostic formatting in SARIF mode is currently unstable [-Wsarif-format-unstable] |