6 lines · cpp
1// RUN: %clang -fsyntax-only -fdiagnostics-format=sarif %s -### 2>&1 | FileCheck %s --check-prefix=WARN2// 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=WARN25// WARN2: warning: diagnostic formatting in SARIF mode is currently unstable [-Wsarif-format-unstable]6