llvm-project/clang/test/Misc/serialized-diags-bcanalyzer.c
Brian Gesiak 2a58ca7dfe Add tests for llvm-bcanalyzer stream types
Summary:
Add tests for the improved stream type detection added to
`llvm-bcanalyzer` in https://reviews.llvm.org/D41979.

Test Plan: `check-clang`

Reviewers: pcc, aprantl, mehdi_amini, george.karpenkov

Reviewed By: aprantl

Subscribers: cfe-commits, a.sidorin

Differential Revision: https://reviews.llvm.org/D41980

llvm-svn: 330530
2018-04-22 00:04:35 +00:00

4 lines
192 B
C

// RUN: %clang -Wall -fsyntax-only %s --serialize-diagnostics %t.diag > /dev/null 2>&1
// RUN: llvm-bcanalyzer -dump %t.diag | FileCheck %s
// CHECK: Stream type: Clang Serialized Diagnostics